Cache invalidation mechanisms

Cache entries generated by the WebSphere Application Server dynamic cache service contains information including the servlet output, the results of servlet execution (such as calls to other servlets or JSP files), and metadata about the entries such as the timeout and entry priority information. From time-to-time, WebSphere Commerce needs to verify that this information is current, consistent, and accurate while it remains in the cache. WebSphere Commerce therefore requires efficient mechanisms for identifying and removing cache information that is no longer valid. The WebSphere Application Server dynamic cache service provides support to maintain the cache information with a process called cache invalidation. Cache invalidation allows WebSphere Commerce to exploit the different invalidation mechanisms provided by the service to perform the invalidation under different circumstances. These mechanisms vary from rule-based, time-based, group-based, to programmatic approaches.

This section only focuses on describing how to perform cache invalidation in WebSphere Commerce and is not intended to cover the general caching aspects. It describes the invalidation mechanisms provided by the WebSphere Application Server dynamic cache:

Feedback