Hi,

I am trying to remove all set-cookies from the backend but I still found
Set-Cookie in the log (varnishlog -b).

I have the following setup:

sub vcl_fetch {
    .....
    .....
    unset beresp.http.set-cookie;
}

and varnishlog -b shows something like this:

   16 RxHeader     b Set-Cookie: name=xyc; domain=.example.com; path=/;
expires=Sun, 09-Jan-2011 14:04:10 GMT

I am wondering how to completely remove the Set-Cookie. Currently my hitrate
is only 80%, I think the set-cookie header is the main reason.

also what's the difference between
    unset beresp.http.set-cookie;
and
    remove beresp.http.set-cookie;


Thank you,

Vincent
_______________________________________________
varnish-misc mailing list
[email protected]
http://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc

Reply via email to