Cache auto-configuration in Spring Boot 1.3
Over the past year, we have significantly improved the cache abstraction, with support of JSR-107 (JCache) annotations and a better declarative model to share or externalize common settings. In Spring Boot 1.3, we now offer a comprehensive auto-configuration for it.
In a nutshell, the cache abstraction applies caching to methods, thus reducing the number of executions based on the information available in the cache. The caching logic is applied transparently: the method below will only be invoked if the specified ISBN
is not already present in the books
cache. Upon calling that method for a missing Book
, the caches will be updated transparently so that a further call does not invoke the…