Skip to content

Commit 64c4fec

Browse files
authored
docs: clarify shared page cache behavior (#10593)
1 parent 6274001 commit 64c4fec

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

‎user_guide_src/source/general/caching.rst‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,12 @@ of time that a page should remain cached before being refreshed.
2626
request is also taken into account. This means that the same URI will be
2727
cached separately if the HTTP method is different.
2828

29+
.. warning:: Web Page Caching is shared between requests with the same HTTP
30+
method and URI. Its cache key does not vary by authenticated user, cookies,
31+
authorization headers, ``Cache-Control``, or ``Vary``. Do not use it for
32+
protected or personalized responses, as cached responses may be returned
33+
before authentication and authorization filters run.
34+
2935
When a page is loaded for the first time, the page will be cached using the
3036
currently configured cache engine. On subsequent page loads, the cache
3137
will be retrieved and sent to the requesting user's browser.

0 commit comments

Comments
 (0)