Dynamic cache

 


Overview

Dynamic caching works within the JVM to improve application performance by intercepting calls to cacheable objects such as servlets, JSPs, Web services. For example, dynamic caching can intercept calls through a servlet service() method or a command execute() method, store the output of the object, and serve the content later.

Cache policy is configured using cachespec.xml. Cache settings are set on the Cache Service Settings page in the console.

 


<jsp:include>

If, upon loading a JSP from the dynamic cache, a part of the page is not displayed, it might be because the flush attribute is set to false on the <jsp:include> tag. If the cached JSP includes another JSP, and if the flush attribute is set to false, data written to the parent output stream before the <jsp:include> tag is not cached.

To fix, set flush=true on every <jsp:include> tag in the cacheable JSPs

 


See also

  1. Enable the dynamic cache service globally.
  2. Configure servlet caching.
  3. Configure Edge Side Include (ESI) caching.
  4. Configure command caching.
  5. Configure Web services caching.
  6. Troubleshoot any problems with the dynamic cache service.
  7. Cache monitor
  8. Tuning performance parameter index
  9. Example: Caching Web services
  10. Configure the dynamic cache
  11. Dynamic cache