Skip to content

Commit 864f1b2

Browse files
committed
minor #11515 fix varnish comment (OskarStark)
This PR was merged into the 3.4 branch. Discussion ---------- fix varnish comment according to this link: https://varnish-cache.org/docs/trunk/reference/vcl.html#comments a multiline comment should not start on the "/*"-line <!-- If your pull request fixes a BUG, use the oldest maintained branch that contains the bug (see https://symfony.com/roadmap for the list of maintained branches). If your pull request documents a NEW FEATURE, use the same Symfony branch where the feature was introduced (and `master` for features of unreleased versions). --> Commits ------- f66d3eb fix varnish comment
2 parents e08326d + f66d3eb commit 864f1b2

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

http_cache/varnish.rst

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -134,9 +134,10 @@ using Varnish 3:
134134
.. code-block:: varnish3
135135
136136
sub vcl_fetch {
137-
/* By default, Varnish3 ignores Cache-Control: no-cache and private
138-
https://www.varnish-cache.org/docs/3.0/tutorial/increasing_your_hitrate.html#cache-control
139-
*/
137+
/*
138+
By default, Varnish3 ignores Cache-Control: no-cache and private
139+
https://www.varnish-cache.org/docs/3.0/tutorial/increasing_your_hitrate.html#cache-control
140+
*/
140141
if (beresp.http.Cache-Control ~ "private" ||
141142
beresp.http.Cache-Control ~ "no-cache" ||
142143
beresp.http.Cache-Control ~ "no-store"

0 commit comments

Comments
 (0)