Elastic Path 6.13.0 uses EhCache, an open source caching system, to handle application caching.
Using EhCache gives Elastic Path the following benefits:
- JMX Support
- Better unified and distributed caching control across application level caches
- More consistent cache evictions
By using JMX, you can monitor and modify your object caches. See JMX Monitoring and Monitoring EhCache for more information.
Application Level Caching
The application level cache, which sits between the view layer and the data access layer, is used by the storefront to cache semi-static store and product data.
The timeouts of a Storefront's application level cache can be configured by modifying the cache's timeToLive and timeToIdle bean properties in ep-storefront\src\main\resources\spring\cache\cache.xml.
See Storefront Caching for a list of application caches that can be configured.
By default, application caches will use the properties defined in the Core's ehcache.xml. These may be overridden in the cache`s bean specified in cache.xml. For information on EhCache's configurable properties, see EhCache's Cache Configuration guide.