Enabling 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.

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.

About this task

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.



In this information ...


IBM Redbooks, demos, education, and more

(Index)

Use IBM Suggests to retrieve related content from ibm.com and beyond, identified for your convenience.

This feature requires Internet access.

Task topic    

Terms of Use | Feedback

Last updated: Aug 29, 2010 8:25:23 PM CDT
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=vela&product=was-nd-zos&topic=tdyn_enablecache
File name: tdyn_enablecache.html