> For the complete documentation index, see [llms.txt](https://jack80342.gitbook.io/spring-boot/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://jack80342.gitbook.io/spring-boot/iv.-spring-boot-features/31.-caching/31.1-supported-cache-providers/31.1.1-generic.md).

# 31.1.1 Generic

如果上下文定义至少一个`org.springframework.cache.Cache` bean，那么将使用通用（Generic）缓存。一个包装着那种类型的所有bean的`CacheManager`会被创建。
