From 1c8eeb4f8c47623f7590d36d82e39d381ed83906 Mon Sep 17 00:00:00 2001 From: Maria Elisabeth Schreiber Date: Thu, 3 Oct 2024 06:55:23 -0600 Subject: [PATCH] docs: add entity cache note (#6083) Co-authored-by: Edward Huang --- docs/source/configuration/entity-caching.mdx | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/docs/source/configuration/entity-caching.mdx b/docs/source/configuration/entity-caching.mdx index a47967c253..4f898ecdbc 100644 --- a/docs/source/configuration/entity-caching.mdx +++ b/docs/source/configuration/entity-caching.mdx @@ -109,6 +109,15 @@ preview_entity_cache: private_id: "user_id" ``` + + + +In router v1.51 and earlier, Redis and per-subgraph caching configurations are set directly on `preview_entity_cache`, for example `preview_entity_cache.redis`. + +This configuration may change while the feature is in [preview](/resources/product-launch-stages/#product-launch-stages). + + + ### Configure time to live (TTL) Besides configuring a global TTL for all the entries in Redis, the GraphOS Router also honors the [`Cache-Control` header](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cache-Control) returned with the subgraph response. It generates a `Cache-Control` header for the client response by aggregating the TTL information from all response parts.