varnish v2.1: Where is "set obj.ttl" now allowed?

Per Buer perbu at varnish-software.com
Mon Mar 29 13:58:13 CEST 2010


On Mon, Mar 29, 2010 at 12:42 PM, Jens Schleusener:
>  sub vcl_fetch {
>   if (obj.ttl < 60s) {
>    set obj.ttl = 60s;
>   }
>  }


sub vcl_fetch {
   set beresp.ttl = 60s;
   esi;
}

(forgot to Cc varnish-misc on the first post)
-- 
Per Buer,  Varnish Software
Phone: +47 21 54 41 21 / Mobile: +47 958 39 117 / skype: per.buer




More information about the varnish-misc mailing list