The content of any Web site is constantly updated and changed, but this does not mean that the content of this site is dynamic content, in fact, dynamic content refers to the user each time the same link is generated by the Web server application, such as common asp,jsp, and so on, corresponding to this, Static content typically refers to text, images, and multimedia, which remain essentially the same every time a user clicks on the corresponding link. Now the latest technology to address dynamic content caching is to design the content of the site through ESI technology. esi technology dynamically generated content can provide users with rich and exciting pages, Web developers can more easily and more flexible control of related content, But while enjoying these conveniences, it also increases the processing pressure of the website database and application server. When the number of visits to the website increases, the investment in hardware and the database is huge, and even so, it is still possible to cause severe page delays or even access failures. user access dynamically generated content the root cause of the slow speed is that the dynamically generated content needs to undergo a complex process, first of all, according to the user request to assign the user's request to the application server corresponding software module, The software module must operate to determine what data needs to be extracted from the database to the user, and then extract the corresponding data from the database to the user in the defined format. These lengthy processes result in slower user access while increasing the load on the server. in the real world, a dynamically generated page, which may have only a small amount of content is frequently changed or personalized, for the traditional cache server, in order to ensure the timeliness of the page, The entire page cannot be cached because of these small amounts of dynamic content in the page. ESI (Edge Side Include) describes snippets of content in pages that can be accelerated and not accelerated by using a simple markup language, each of which is divided into different small sections to give different cache control strategies. Enables the cache server to dynamically group a small number of different parts before sending the full page to the user based on these policies. This control can effectively reduce the number of times the entire page is fetched from the server, but only by extracting a small number of fragments that cannot be cached from the original server, thus effectively reducing the load on the original server and increasing the response time of user access. esi is a simple identity language that developers can use to flag content fragments to speed up caching with the appropriate cache server. ESI also defines a set of content validation standards that canNow the original server to cache server caching content management, improve the content of the Web site control capabilities. CDN Networks can also provide CDN services for dynamic content on the site by installing a cache server that supports ESI in nodes across the country.
ESI Dynamic Caching technology