Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How do Web developers manage the consistency of dynamic content using ESI?

0
Posted

How do Web developers manage the consistency of dynamic content using ESI?

0

ESI provides a number of ways to manage the consistency (freshness) of cached objects, including the ability to define expiration policies. Due to the unpredictable nature of frequently changing content, ESI also includes a content invalidation specification. The invalidation specification is used by syndication servers, content management systems, databases, custom scripts, application logic, etc. to send HTTP-based invalidation messages to a local cache and/or delivery network. The invalidation message tells the cache or delivery network to overwrite the metadata associated with particular ESI objects residing on edge servers. A combination of the two approaches (expiration, invalidation) and some simple fragment naming conventions can be used to ensure that the content delivered from the edge is always consistent.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123