[2.1] 5e1cf02 Fix missing time in beresp.ttl statement.

Tollef Fog Heen tfheen at varnish-cache.org
Fri Nov 11 16:08:50 CET 2011


commit 5e1cf02670e2fe008dbd98f1b451b0cb080646c1
Author: Gavin Sandie <beach at vicecity.co.uk>
Date:   Fri Nov 11 11:15:33 2011 +0000

    Fix missing time in beresp.ttl statement.

diff --git a/doc/sphinx/tutorial/vcl.rst b/doc/sphinx/tutorial/vcl.rst
index 7e5d4aa..133c54e 100644
--- a/doc/sphinx/tutorial/vcl.rst
+++ b/doc/sphinx/tutorial/vcl.rst
@@ -154,7 +154,7 @@ matches certain criteria:::
   sub vcl_fetch {
      if (req.url ~ "\.(png|gif|jpg)$") {
        unset beresp.http.set-cookie;
-       set beresp.ttl = 3600;
+       set beresp.ttl = 3600s;
     }
   }
 



More information about the varnish-commit mailing list