vcl question cookie
jean-marc pouchoulon
jean-marc.pouchoulon at ac-montpellier.fr
Thu May 10 13:45:34 CEST 2007
> "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
More information about the varnish-misc
mailing list