diff --git a/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc b/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc index c10217bf8a3e..d40b82bf82e7 100644 --- a/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc +++ b/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc @@ -3458,6 +3458,9 @@ materialized by the `org.springframework.cache.Cache` and suitable `CacheManager` according to the implementation as long as the caching support is enabled via the `@EnableCaching` annotation. +NOTE: If you are using the cache infrastructure with beans that are not interface-based, +make sure to enable the `proxyTargetClass` attribute of `@EnableCaching`. + TIP: Use the `spring-boot-starter-cache` "`Starter POM`" to quickly add required caching dependencies. If you are adding dependencies manually you should note that certain implementations are only provided by the `spring-context-support` jar.