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.
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
- Enable the dynamic cache service globally.
- Configure servlet caching.
- Configure Edge Side Include (ESI) caching.
- Configure command caching.
- Configure Web services caching.
- Troubleshoot any problems with the dynamic cache service.
- Cache monitor
- Tuning performance parameter index
- Example: Caching Web services
- Configure the dynamic cache
- Dynamic cache