Dynamic content is a web performance headache.
Content delivery networks (CDNs) continue to struggle optimizing dynamic content.
Whether using a dynamic web accelerator, or content caching, performance is a struggle.
That is why network optimizers are necessary. The issue becomes using a CDN for static content but a network optimizer for dynamic content. The separation is an infrastructure issue. It takes planning and forethought.
There are many ways to separate static content and dynamic content. Here, we would like to provide 6 tactics for separating your static and dynamic content.
Deploy Virtual Private Clouds
Virtual private clouds (VPCs) are a set of computing services. They are most common in the Amazon Web Services (AWS) environment. With a VPC, you can group various applications within the same environment. This can group similar applications and content together.
The VPC can separate static content and dynamic content. Using a VPC can allow you to group dynamic content in one VPC and static content in another. Then, you can associate the VPCs with different content delivery networks (CDNs) and network optimizers.
This is one step towards web performance and network optimization.
Create Different Subnets
Using subnets is differentiating content based on IP addresses. Using subnets allows for assigning specific computing processes to a network. Then the network shares an IP address. You deploy a subnet within a VPC and assign it to specific computing processes.
WIth a subnet, you can assign dynamic content computing processes to a certain subnet. Then the subnet can run over a particular network. This is done when building cloud infrastructure. In an AWS environment, AWS CloudFormation can help.
For dynamic content delivery, this method can improve performance.
Use Various Instances
An instance is a CPU within cloud computing. AWS uses the term “instances” for EC2, but other cloud providers offer similar services. The CPUs can have different compute power. If you have a more dynamic content based application, you need more compute power.
In this environment, your static content and dynamic content are already running separately. If they are not, you can separate the content into different instances. This can possibly save on compute costs. When separating for web performance, using different instances gives you the opportunity to send internet transit over different services.
Using multiple instances can be another way to improve performance.
Build Elastic Load Balancer Clusters
Elastic load balances (ELBs) help to distribute traffic across cloud computing services. The main function is to prevent the overloading of servers within cloud infrastructure. You can then divide ELBs into clusters. This allows distribution of specific resources across certain IP addresses.
Dividing ELB clusters based on static and dynamic content separates traffic. For network performance, this means content can go over web accelerators and CDNs.
Run Multiple Web Servers
Putting dynamic content and static content on different web servers works when not running VPCs. With a traditional website, you may have areas that are dynamic for a personalized visitor experience.
Putting the content on different servers will make the website look like two separate sites to computer traffic. It will continue to look like one site for your users. Using this setup allows the separation of content.
Using this separation can allow different network settings for each type of content.
Create Multiple URL Sub-Domains
Using multiple sub-domains is a common tactic if you have different website elements hosted with different companies. You can place all static content under one domain and dynamic content under another. This looks like the following:
The sub-domain setup takes planning when building the website. Chances are you currently have some sub-domains, and so can use the existing setup. If not, it is simple enough to create sub-domains. Then, you can build out your web performance infrastructure for a better user experience.
Separating static content and dynamic content is an important tactic in web performance. As a CDN is best at static content, it is best to use one for static content. As a network optimizer is great for dynamic content, it is best to use it for that. Separating the content can allow you to deploy an environment with both. Improving network performance.
To learn more about dynamic content and network performance, you can download the eCommerce Conversion Optimization Whitepaper.