Operating Systems: i5/OS
             Personalize the table of contents and search results

 

Enable the dynamic cache service

 

Enable the dynamic cache service to improve application performance by caching the output of servlets, Web services, and WebSphere Application Server commands into memory. 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. See Configuring cacheable objects with the cachespec.xml file for more information.

 

Overview

The dynamic cache service is enabled by default. However, you can enable or disable the service through the administrative console.

 

Procedure

  1. Open the administrative console.

  2. In the administrative console, click Servers > Application servers > server_name > Container services > Dynamic cache service.

  3. Select Enable service at server startup .

  4. Click Apply or OK.

  5. Restart WebSphere Application Server. You might want to enable servlet caching before restarting WebSphere Application Server. See Configuring servlet caching for more information.

 

Results

The dynamic cache service caches content for requests that have cache policies configured.

 

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. See Configuring dynamic cache disk offload for more information.


}
Dynamic cache service settings

Configuring servlet caching

Configuring portlet fragment caching

Configuring portlet fragment caching with the wsadmin tool

Configuring caching for Struts and Tiles applications

Configuring dynamic cache disk offload

Configuring Edge Side Include caching

Configuring external cache groups

 

Related tasks


Configuring servlet caching
Configuring cache replication
Task overview: Using the dynamic cache service to improve performance
Using the DistributedMap and DistributedObjectCache interfaces for the dynamic cache

  Â