Spring EhCache Caching
EhCache 2.x
EhCache 2.x is used if a file named ehcache.xml can be found at the root of the classpath. If EhCache2.x is found, the EhCacheCacheManager provided by the spring-boot-starter-cache “Starter” is used to
bootstrap the cache manager. An alternate configuration file can be provided as well, as shown in
the following example:
spring.cache.ehcache.config=classpath:config/another-config.xml
Comments
Post a Comment