> in vcl_recv, we shortcut and send such requests straight to lookup: > > /* Honour Cache-Control: and Pragma: ... */ > if (req.http.Pragma ~ ".*no-cache.*" || req.http.Cache-Control ~ > ".*no-cache.*") { > lookup; > } > > ...and then in vcl_recv we do similar to you:
Bother, of course I meant: ..and then in *vcl_hit* we do similar to you... :) > /* Honour Cache-Control: and Pragma: ... */ > if (req.http.Pragma ~ ".*no-cache.*" || req.http.Cache-Control ~ > ".*no-cache.*") { > set obj.ttl = 0s; > pass; > } > regards, Darryl Dixon Winterhouse Consulting Ltd http://www.winterhouseconsulting.com _______________________________________________ varnish-misc mailing list varnish-misc@projects.linpro.no http://projects.linpro.no/mailman/listinfo/varnish-misc