Enable the dynamic cache service

 

+

Search Tips   |   Advanced Search

 

 

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.

 

Overview

Enable the dynamic cache service to improve application performance by caching the output of servlets, Web services, and WebSphere commands into memory.

The dynamic cache service is enabled by default. However, one 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 | servername | 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.

 

Result

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. to move cache entries that are expired from memory to disk for potential future access.

 

See also


Dynamic cache service settings
Configuring servlet caching
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