From 79639013b5c2290688efdda6be839ba54c9403ea Mon Sep 17 00:00:00 2001 From: Nikolas Skoufis Date: Wed, 29 Jun 2022 17:38:41 +1000 Subject: [PATCH] Explain how to enable techdocs cache For dummies like me, it took me a while to figure out that even if you have configured the backend cache, the TechDocs cache is not enabled until you set a value for the TTL. My interpretation was that it was just configured by default, and the fact that a default value for ttl seems to appear here points to that as well. This change hopes to make this explicit, to avoid others spinning their wheels like I have. Signed-off-by: Nikolas Skoufis --- docs/features/techdocs/configuration.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/features/techdocs/configuration.md b/docs/features/techdocs/configuration.md index 9440d9a824..8a54d76ed0 100644 --- a/docs/features/techdocs/configuration.md +++ b/docs/features/techdocs/configuration.md @@ -160,7 +160,8 @@ techdocs: # techdocs.cache is optional, and is only recommended when you've configured # an external techdocs.publisher.type above. Also requires backend.cache to - # be configured with a valid cache store. + # be configured with a valid cache store. Configure techdocs.cache.ttl to + # enable caching of techdocs assets. cache: # Represents the number of milliseconds a statically built asset should # stay cached. Cache invalidation is handled automatically by the frontend,