hitrate at 1.00 but backend still getting traffic

BUSTARRET, Jean-francois jfbustarret at tf1.fr
Mon Oct 19 09:41:35 CEST 2009


> -----Message d'origine-----
> I believe that, by default, Varnish does not cache a *response* that
> contains Set-Cookie:, not a request containing Cookie:, as you said,
> right?

Both are not cacheable. Here is what's in the default vlc_recv :

57 	    if (req.http.Authorization || req.http.Cookie) {
58 	        /* Not cacheable by default */
59 	        return (pass);
60 	    }

>From :
http://varnish.projects.linpro.no/browser/branches/2.0/varnish-cache/bin/varnishd/default.vcl

Jean-François



More information about the varnish-misc mailing list