Skip to content

Commit 4f6cb06

Browse files
committed
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
1 parent dcda8ce commit 4f6cb06

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

http_cache/varnish.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,8 +134,9 @@ 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
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
139140
*/
140141
if (beresp.http.Cache-Control ~ "private" ||
141142
beresp.http.Cache-Control ~ "no-cache" ||

0 commit comments

Comments
 (0)