Mercury 1.1: has_js cookie and Varnish

Events happening in the community are now at Drupal community events on www.drupal.org.
Anonymous's picture

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]+)=[^;]*", "");

Also in the new default.vlc there is a comment:

#PLEASE DON'T EDIT THIS FILE DIRECTLY - SEE /etc/mercury/server_tuneables

And in /etc/mercury/server_tuneables there is another comment saying:
#Use this file (/root/MERCURY_TUNEABLES) to set variables in config files rather than editing the config file directly. 
#This allows BCFG2 to use your values rather than replacing the file with our defaults.
#Any variable not set in this file (ie, left empty) receives the default value (often based on system memory size)

I feel a bit lost about server_tuneables, templates and all this stuff, can someone explain step by step how to modify this?

Thank you in advance

Mercury

Group organizers

Group categories

Post Type

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: