This topic provides information on caching static and dynamic content in the proxy server.
Dynamic content is content that an application, that is hosted on an application server, generates. A proxy server caches dynamic content only if the content is identified as edge cacheable in the cachespec.xml file for the application. All of the information that describes the cache, such as the ID to use for the cache, dependency identifiers for invalidation, and expiration times, is also defined in the cachespec.xml file. Proxy Server uses the ESI protocol to obtain this information from the file.
See Configuring cacheable objects with the cachespec.xml file for more information on how to set up a cachespec.xml file for an application.
Cached dynamic content can be invalidated by events in the application server. The ESI Invalidation Servlet, that is contained in the DynacacheEsi.ear application, propagates these invalidation events from the application server to the proxy server. The DynacacheEsi.ear is shipped with WebSphere Application Server and must be deployed in the cluster with the application that is generating the dynamic content for dynamic caching at the proxy server to function properly.