Skip to content

Commit 43bfb3b

Browse files
committed
Merge branch '4.4' into 5.1
* 4.4: Add more details about the ESI detection
2 parents 2fc9e00 + 80369c8 commit 43bfb3b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

http_cache/esi.rst

Lines changed: 3 additions & 3 deletions
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)