Skip to content

Commit 80369c8

Browse files
committed
minor #14801 Add more details about the ESI detection (javiereguiluz)
This PR was merged into the 4.4 branch. Discussion ---------- Add more details about the ESI detection Fixes #14640. Commits ------- 8bd8d51 Add more details about the ESI detection
2 parents 0185251 + 8bd8d51 commit 80369c8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

http_cache/esi.rst

+3-3
Original file line numberDiff line numberDiff line change
@@ -156,9 +156,9 @@ used ``render()``.
156156

157157
.. note::
158158

159-
Symfony detects if a gateway cache supports ESI via another Akamai
160-
specification that is supported out of the box by the Symfony reverse
161-
proxy.
159+
Symfony considers that a gateway cache supports ESI if its responses include
160+
the ``Surrogate-Capability`` HTTP header and the value of that header
161+
contains the ``ESI/1.0`` string anywhere.
162162

163163
The embedded action can now specify its own caching rules entirely independently
164164
of the master page::

0 commit comments

Comments
 (0)