Enable the dynamic cache service

 

+

Search Tips   |   Advanced Search

 

 

Overview

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

Develop a cache policy for your application.

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

 

Procedure

  1. Open the console.

  2. In the console, click...

    Servers | Application servers | server_name | Container services | Dynamic cache service | Enable service at server startup | OK.

  3. Restart WAS.

    You might want to enable servlet caching before restarting WAS.

 

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.



Dynamic cache service settings
Configure servlet caching
Configure portlet fragment caching
Configure portlet fragment caching with the wsadmin tool
Configure caching for Struts and Tiles applications
Configure dynamic cache disk offload
Configure Edge Side Include caching
Configure external cache groups

 

Related tasks

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