From dc645f09b756e321bad57ec8ec4179317edc5680 Mon Sep 17 00:00:00 2001 From: Andy Wilkinson Date: Wed, 25 Oct 2023 15:05:25 +0100 Subject: [PATCH] Add a brief mention of ConfigurationPropertyCaching Closes gh-34172 --- .../src/docs/asciidoc/features/external-config.adoc | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/spring-boot-project/spring-boot-docs/src/docs/asciidoc/features/external-config.adoc b/spring-boot-project/spring-boot-docs/src/docs/asciidoc/features/external-config.adoc index 09acb2fbf18..6c7d1ef6d2b 100644 --- a/spring-boot-project/spring-boot-docs/src/docs/asciidoc/features/external-config.adoc +++ b/spring-boot-project/spring-boot-docs/src/docs/asciidoc/features/external-config.adoc @@ -938,6 +938,13 @@ For example, the configuration property `my.service[0].other` would use an envir +[[features.external-config.typesafe-configuration-properties.relaxed-binding.caching]] +===== Caching +Relaxed binding uses a cache to improve performance. By default, this caching is only applied to immutable property sources. +To customize this behavior, for example to enable caching for mutable property sources, use `ConfigurationPropertyCaching`. + + + [[features.external-config.typesafe-configuration-properties.merging-complex-types]] ==== Merging Complex Types When lists are configured in more than one place, overriding works by replacing the entire list.