remove/unset set-cookies
Vincent
cooltechemail at gmail.com
Fri Dec 10 15:08:26 CET 2010
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20101210/f029e32c/attachment.html>
More information about the varnish-misc
mailing list