Do I need to unset cookie in vcl_fetch if there is remove req.http.Cookie in vcl_recv?

Per Buer perbu at varnish-software.com
Fri Feb 11 03:45:07 CET 2011


On Fri, Feb 11, 2011 at 1:48 AM, David Murphy <david at firechaser.com> wrote:
> Hello
>
> I've been testing removing cookies from images/css/js and am a little
> unclear on the difference between:
> (..)
>       remove req.http.Cookie;
> (..)
>   unset req.http.cookie;
> (..)

>From "man vcl":

You can remove headers with the remove or unset keywords, which are synonym.

-- 
Per Buer, Varnish Software
Phone: +47 21 98 92 61 / Mobile: +47 958 39 117 / Skype: per.buer
Varnish makes websites fly!
Want to learn more about Varnish? http://www.varnish-software.com/whitepapers




More information about the varnish-misc mailing list