WAS v8.5 > End-to-end paths > Dynamic caching > Improving service with the dynamic cache service

Tasks: Using the dynamic cache service to improve performance

Caching the output of servlets, commands, and JSP improves application performance. WebSphere Application Server consolidates several caching activities including servlets, web services, and WebSphere commands into one service called the dynamic cache. These caching activities work together to improve application performance, and share many configuration parameters that are set in the dynamic cache service of an application server. We can use the dynamic cache to improve the performance of servlet and JSP files by serving requests from an in-memory cache. Cache entries contain servlet output, the results of a servlet after it runs, and metadata.

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.

  1. The dynamic cache service is enabled by default. We can configure the default dynamic cache service using the dmgr console.

  2. Configure caching...

    • Configure servlet caching.
    • Configure portlet fragment caching.
    • Configure Edge Side Include caching.
    • Configure command caching.
    • Configure web service caching
    • Configuring the JAX-RPC web services client cache.

  3. Monitor the results of your configuration using the

Optional: Use the DistributedMap and DistributedObjectCache interfaces for the dynamic cache


Subtopics

  1. Disk cache infrastructure enhancements
  2. Use the dynamic cache service
  3. Configure cacheable objects with the cachespec.xml file
  4. Configure command caching
  5. Eviction policies using the disk cache garbage collector
  6. Example: Caching web services
  7. Configure the JAX-RPC web services client cache
  8. Display cache information
  9. Use the DistributedMap and DistributedObjectCache interfaces for the dynamic cache
  10. Use servlet cache instances
  11. Disable template-based invalidations during JSP reloads
  12. Dynamic cache MBean statistics
  13. Example: Configuring the dynamic cache service
  14. Dynamic cache PMI counter definitions
  15. Troubleshooting the dynamic cache service
  16. Configure command caching
  17. Configure the JAX-RPC web services client cache
  18. Use the DistributedMap and DistributedObjectCache interfaces for the dynamic cache
  19. Use servlet cache instances


Related

Tune the application serving environment
Configure servlet caching
Configure portlet fragment caching
Configure Edge Side Include caching


+

Search Tips   |   Advanced Search