Enabling the dynamic cache service

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

Why and when to perform this task

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

Steps for this task

  1. Open the administrative console.
  2. Click Servers > Application Servers in the administrative console navigation tree.
  3. Click a server.
  4. Click Dynamic Cache Service under Additional Properties.
  5. Select Enable service at server startup in the Startup state field.
  6. Click Apply or OK.
  7. Restart WebSphere Application Server.
    You may 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 may 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 the dynamic cache disk offload for more information.

Related tasks
Configuring servlet caching
Configuring cache replication
Configuring the dynamic cache service to improve performance
Related reference
Dynamic cache service settings



Searchable topic ID:   tdyn_enablecache
Last updated: Jun 21, 2007 4:55:42 PM CDT    WebSphere Application Server Network Deployment, Version 5.0.2
http://publib.boulder.ibm.com/infocenter/wasinfo/index.jsp?topic=/com.ibm.websphere.nd.doc/info/ae/ae/tdyn_enablecache.html

Library | Support | Terms of Use | Feedback