From 06ba2affb356a0feac6549e6303284f2065d21d1 Mon Sep 17 00:00:00 2001 From: michalsn Date: Wed, 30 Sep 2026 19:22:40 +0200 Subject: [PATCH] docs: clarify shared page cache behavior --- user_guide_src/source/general/caching.rst | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/user_guide_src/source/general/caching.rst b/user_guide_src/source/general/caching.rst index a5a92e29fe6d..2091cda9d0a7 100644 --- a/user_guide_src/source/general/caching.rst +++ b/user_guide_src/source/general/caching.rst @@ -26,6 +26,12 @@ of time that a page should remain cached before being refreshed. request is also taken into account. This means that the same URI will be cached separately if the HTTP method is different. +.. warning:: Web Page Caching is shared between requests with the same HTTP + method and URI. Its cache key does not vary by authenticated user, cookies, + authorization headers, ``Cache-Control``, or ``Vary``. Do not use it for + protected or personalized responses, as cached responses may be returned + before authentication and authorization filters run. + When a page is loaded for the first time, the page will be cached using the currently configured cache engine. On subsequent page loads, the cache will be retrieved and sent to the requesting user's browser.