"lookup" terminates vcl_recv().  The nested if statement is never
reached.

DES
in fact I did

if (req.url ~ "\.pdf$|\.png$|\.gif$|\.jpg$|\.mp3$|\.svf$")  {
   if (req.http.Authenticate || req.http.Cookie ~ "__ac=") {
                      pipe;
   }
   lookup;

}

I suppose pipe also terminates vcl_recv() I tried also
if (req.url ~ "\.pdf$|\.png$|\.gif$|\.jpg$|\.mp3$|\.svf$" && !(req.http.Cookie ~ 
"__ac=") )  {
        lookup;
    }
it seems slow

Any workaround to accomplish partial cache with cookies ?

thanks again

jean-marc


_______________________________________________
varnish-misc mailing list
[email protected]
http://projects.linpro.no/mailman/listinfo/varnish-misc

Reply via email to