[master] 28e866b Update docs for 3.0 Fixes #1032

Andreas Plesner Jacobsen apj at varnish-cache.org
Thu Oct 13 09:30:59 CEST 2011


commit 28e866b59ba0e9c95bdf314965d5895698616136
Author: Andreas Plesner Jacobsen <apj at mutt.dk>
Date:   Thu Oct 13 09:30:27 2011 +0200

    Update docs for 3.0
    Fixes #1032

diff --git a/doc/sphinx/tutorial/esi.rst b/doc/sphinx/tutorial/esi.rst
index ef79f3e..1d01cb8 100644
--- a/doc/sphinx/tutorial/esi.rst
+++ b/doc/sphinx/tutorial/esi.rst
@@ -48,9 +48,9 @@ For ESI to work you need to activate ESI processing in VCL, like this:::
     sub vcl_fetch {
     	if (req.url == "/test.html") {
            set beresp.do_esi = true; /* Do ESI processing		*/
-           set obj.ttl = 24 h; 	     /* Sets the TTL on the HTML above  */
+           set beresp.ttl = 24 h;    /* Sets the TTL on the HTML above  */
     	} elseif (req.url == "/cgi-bin/date.cgi") {
-           set obj.ttl = 1m;         /* Sets a one minute TTL on	*/
+           set beresp.ttl = 1m;      /* Sets a one minute TTL on	*/
 	       	       	 	     /*  the included object		*/
         }
     }



More information about the varnish-commit mailing list