8000 minor #3880 document the mysterious abc part of the header (greg0ire) · symfony/symfony-docs@a41af7e · GitHub
[go: up one dir, main page]

Skip to content

Commit a41af7e

Browse files
committed
minor #3880 document the mysterious abc part of the header (greg0ire)
This PR was submitted for the master branch but it was merged into the 2.3 branch instead (closes #3880). Discussion ---------- document the mysterious abc part of the header One can't help but wonder what it is about. Disclaimer: I'm far from being a specialist, I barely know varnish. This is what I understand after a cursory reading of [this document](http://www.w3.org/TR/edge-arch). Please check this carefully. | Q | A | ------------- | --- | Doc fix? | yes | New docs? | yes | Applies to | all | Fixed tickets | none Commits ------- 48f55e2 document the mysterious abc part of the header
2 parents 90773b0 + dfcdcbd commit a41af7e

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

cookbook/cache/varnish.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,11 @@ application:
3838
set req.http.Surrogate-Capability = "abc=ESI/1.0";
3939
}
4040
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+
4146
Then, optimize Varnish so that it only parses the Response contents when there
4247
is at least one ESI tag by checking the ``Surrogate-Control`` header that
4348
Symfony2 adds automatically:
@@ -217,3 +222,4 @@ absolute URLs:
217222
.. _`Varnish`: https://www.varnish-cache.org
218223
.. _`Edge Architecture`: http://www.w3.org/TR/edge-arch
219224
.. _`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

0 commit comments

Comments
 (0)
0