File tree 1 file changed +6
-0
lines changed
1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -38,6 +38,11 @@ application:
38
38
set req.http.Surrogate-Capability = "abc=ESI/1.0";
39
39
}
40
40
41
+ .. note ::
42
+
43
+ The ``abc `` part of the header isn't important unless you have multiple "surrogates"
44
+ that need to advertise their capabilities. See `Surrogate-Capability Header `_ for details.
45
+
41
46
Then, optimize Varnish so that it only parses the Response contents when there
42
47
is at least one ESI tag by checking the ``Surrogate-Control `` header that
43
48
Symfony2 adds automatically:
@@ -217,3 +222,4 @@ absolute URLs:
217
222
.. _`Varnish` : https://www.varnish-cache.org
218
223
.. _`Edge Architecture` : http://www.w3.org/TR/edge-arch
219
224
.. _`GZIP and Varnish` : https://www.varnish-cache.org/docs/3.0/phk/gzip.html
225
+ .. _`Surrogate-Capability Header` : http://www.w3.org/TR/edge-arch
You can’t perform that action at this time.
0 commit comments