Use the dynamic cache service to improve performance

 

+

Search Tips   |   Advanced Search

 

Use the dynamic cache to improve application performance by caching the output of servlets, commands, and JSP files.

 

Before you begin

Configure your cache policy using the cachespec.xml format.

 

Overview

The dynamic cache service works within an application server JVM, intercepting calls to cacheable objects. For example, it intercepts calls through a servlet service method or a command execute method, and either stores the output of the object to the cache or serves the content of the object from the dynamic cache.

 

Procedure

  1. Enable the dynamic cache service globally.

    To use the features associated with dynamic caching, enable the service in the administrative console.

  2. Configure the type of caching that you are using.

  3. We can monitor the results of your configuration using the dynamic cache monitor.

  4. If you have any problems with your configuration, see Troubleshooting the dynamic cache service.

 

What to do next

To use the DistributedMap and DistributedObjectCache interfaces for the dynamic cache, see Use the DistributedMap and DistributedObjectCache interfaces for the dynamic cache.

 

See also

Dynamic cache
Enable the dynamic cache service
Configure cache replication
Configure cacheable objects with the cachespec.xml file
Configure command caching
Example: Caching Web services
Configure the Web services client cache
Display cache information
Use the DistributedMap and DistributedObjectCache interfaces for the dynamic cache
Use servlet cache instances
Example: Configuring the dynamic cache
Troubleshoot the dynamic cache service

 

Related Tasks


Tune the application serving environment