Announcement: You can find the guides for Commerce 7.5 and later on the new Elastic Path Documentation site. This Developer Center contains the guides for Commerce 6.13.0 through 7.4.1.Visit new site

This version of Elastic Path Commerce is no longer supported or maintained. To upgrade to the latest version, contact your Elastic Path representative.



EhCache is an open source caching system that handles 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.

Configuring EhCache

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.


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.