Stripping out select querystring attribute/value pairs so varnish will not vary cache by them
My goal is to "whitelist" certain querystring attributes and their values so varnish will not vary cache between the urls. Example: Url 1: http://foo.com/someproduct.html?utm_code=google&type=hello Url 2: http://foo.com/someproduct.html?utm_code=yahoo&type=hello Url 3: http://foo.com/someproduct.html?utm_code=yahoo&type=goodbye In the above example I want to whitelist "utm_code" but not "type" So after the first url is hit I want varnish to serve that cached content to the second url. However, in the case of the third url, the attribute "type" value is different so that should be a varnish