InfoCenter Home > 6.6.0.4.1: Dynamic caching of Servlets and JSPsUse the dynamic caching feature to enhance WebSphere Application Server performance. This in-memory cache uses hooks in WebSphere Application Server's servlet engine to intercept calls to a servlet's service method, checking whether requests can be served from the cache. After a servlet is executed once, a cache entry is generated containing:
Each entry in the cache is unique, distinguished by an id string object generated from the HttpServletRequest object. A different id string object is generated for each invocation of the servlet. With this process, a servlet can be cached based on:
To enable dynamic caching, administrators and developers must build two XML configuration files:
Both XML files use UTF-8 (the 8-bit Universal Character Set transformation format) character encoding. Therefore any short Unicode string can be used as a string variable. |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|