WebSphere Application Server Network Deployment, Version 6.0.x   Operating Systems: AIX, HP-UX, Linux, Solaris, Windows
             [TIP: Focusing the table of contents and search results]

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.



Sub-topics
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
Task topic    

Terms of Use | Feedback

Last updated: Mar 8, 2007 8:14:28 PM CST
http://publib.boulder.ibm.com/infocenter/wasinfo/v6r0/index.jsp?topic=/com.ibm.websphere.nd.doc/info/ae/ae/tdyn_enablecache.html

© Copyright IBM Corporation 2002, 2006. All Rights Reserved.
This information center is powered by Eclipse technology. (http://www.eclipse.org)