Use the dynamic cache service to improve application performance
by caching the output of servlets, Web services, and WebSphere® Application Server commands
into memory.
Before you begin
Develop a cache policy for your application. The cache policy defines
rules for what responses to cache and the amount of time the responses should
be held in the cache. Refer to the Configuring cacheable objects with the
cachespec.xml file article for more information.
About this task
The dynamic cache service is enabled by default. You can configure
the default cache instance, as follows:
Procedure
- Click Servers > Server Types > WebSphere® application servers
> server_name > Container services > Dynamic cache service.
- Configure the default cache instance or follow the links to enable
servlet or portlet caching. Refer to the Dynamic cache service
settings article for more information about default cache settings.
What to do next
You might want to enable dynamic cache disk offload. This option
moves cache entries that are expired from memory to disk for potential future
access. Refer to the Configuring dynamic cache disk offload for more information
about enabling disk offload.