Cache Abstraction

从 3.1 版本开始,Spring Framework 提供了对向现有 Spring 应用程序透明添加缓存的支持。类似于 transaction 支持,缓存抽象允许以最小的代码影响力一致地使用各种缓存解决方案。

Since version 3.1, the Spring Framework provides support for transparently adding caching to an existing Spring application. Similar to the transaction support, the caching abstraction allows consistent use of various caching solutions with minimal impact on the code.

在 Spring Framework 4.1 中,缓存抽象得到了极大扩展,增加了对 JSR-107 annotations 和更多自定义选项的支持。

In Spring Framework 4.1, the cache abstraction was significantly extended with support for JSR-107 annotations and more customization options.