Mercury 1.1: has_js cookie and Varnish
Posted by Anonymous on May 14, 2011 at 3:46pm
Hi,
I successfully update my server from Ubuntu 9.04 & Mercury 1 to Ubuntu 10 LTS & Mercury 1.1,
but I notice that on the new Varnish default.vlc there is no has_js cookie bypass. Is it not useful anymore?
Mercury 1
// Remove has_js and Google Analytics cookies.
set req.http.Cookie = regsuball(req.http.Cookie, "(^|;\s*)(__[a-z]+|has_js)=[^;]*", "");
Mercury 1.1
// Remove Google Analytics cookies.
set req.http.Cookie = regsuball(req.http.Cookie, "(^|;\s*)(__[a-z]+)=[^;]*", "");