Skip to content

Commit f76600d

Browse files
committed
Merge pull request #154 from FriendsOfSymfony/default-builtin-vcl
the default vcl for varnish 4 has a different filename
2 parents 1c00f15 + 5a36b5e commit f76600d

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

doc/varnish-configuration.rst

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -130,9 +130,9 @@ to the ``recv`` and the ``deliver`` methods:
130130
.. sidebar:: Caching User Specific Content
131131

132132
By default, Varnish does not check for cached data as soon as the request
133-
has a ``Cookie`` or ``Authorization`` header, as per the `default VCL`_.
134-
For the user context, you make Varnish cache even when there are
135-
credentials present.
133+
has a ``Cookie`` or ``Authorization`` header, as per the `builtin VCL`_
134+
(for Varnish 3, see `default VCL`_). For the user context, you make Varnish
135+
cache even when there are credentials present.
136136

137137
You need to be very careful when doing this: Your application is
138138
responsible for properly specifying what may or may not be shared. If a
@@ -213,5 +213,6 @@ Configure your Varnish to set a debug header that shows whether a cache hit or m
213213
:language: varnish3
214214
:linenos:
215215

216-
.. _`default VCL`: https://www.varnish-cache.org/trac/browser/bin/varnishd/default.vcl?rev=3.0#L63
216+
.. _`builtin VCL`: https://www.varnish-cache.org/trac/browser/bin/varnishd/builtin.vcl?rev=4.0
217+
.. _`default VCL`: https://www.varnish-cache.org/trac/browser/bin/varnishd/default.vcl?rev=3.0
217218

0 commit comments

Comments
 (0)