Skip to content

Commit 8a2ee52

Browse files
committed
Add cache size recommendation to the documentation
1 parent d40b86c commit 8a2ee52

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

initializr-docs/src/main/asciidoc/configuration-guide.adoc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1180,6 +1180,8 @@ Spring Initializr has an auto-configuration for the requested caches if you are
11801180
use a JCache (JSR-107) implementation. By default, the service metadata cache and the
11811181
dependency metadata cache are configured with an expiration policy that allows entries to
11821182
remain in the cache for 10 minutes.
1183+
The caches don't have a max size by default — it is recommended that you configure the max
1184+
size of the caches in your cache configuration.
11831185

11841186
NOTE: The caches are created with an auto-configured `JCacheManagerCustomizer` with order `0` and only if they don't exist already.
11851187
You can contribute a bean of the same type with a lower `@Order` to override some of the configuration to suit your specific needs.

0 commit comments

Comments
 (0)