Skip to content

Commit 8bd8d51

Browse files
committed
Add more details about the ESI detection
1 parent 2ff4cfd commit 8bd8d51

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)