[master] b84796f 4.0 syntax changes

Per Buer perbu at varnish-software.com
Fri Feb 21 21:09:31 CET 2014


commit b84796f178b9501539e0ab553f0fcb9302b5ab12
Author: Per Buer <perbu at varnish-software.com>
Date:   Fri Feb 21 21:05:07 2014 +0100

    4.0 syntax changes

diff --git a/doc/sphinx/users-guide/compression.rst b/doc/sphinx/users-guide/compression.rst
index 5e21511..d611807 100644
--- a/doc/sphinx/users-guide/compression.rst
+++ b/doc/sphinx/users-guide/compression.rst
@@ -29,7 +29,7 @@ backend sends content in clear text it will be stored like that.
 You can make Varnish compress content before storing it in cache in
 vcl_fetch by setting do_gzip to true, like this::
 
-   sub vcl_fetch {
+   sub vcl_backend_response {
         if (beresp.http.content-type ~ "text") {
                 set beresp.do_gzip = true;
         }



More information about the varnish-commit mailing list