<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p>Hi,</p>
<p>We are using varnish 4.1.2 for our website caching. We use bunch
of standard query parameters (like utm*) to track the channels for
our website visits - this is quite standard in the web world. <br>
</p>
<p>
<meta charset="utf-8">
</p>
<p style="margin: 0px 0px 1em; padding: 0px; border: 0px;
font-style: normal; font-variant-ligatures: normal;
font-variant-caps: normal; font-variant-numeric: inherit;
font-weight: normal; font-stretch: inherit; font-size: 15px;
line-height: inherit; font-family: Arial, "Helvetica
Neue", Helvetica, sans-serif; vertical-align: baseline;
clear: both; color: rgb(36, 39, 41); letter-spacing: normal;
orphans: 2; text-align: left; text-indent: 0px; text-transform:
none; white-space: normal; widows: 2; word-spacing: 0px;
-webkit-text-stroke-width: 0px; background-color: rgb(255, 255,
255); text-decoration-style: initial; text-decoration-color:
initial;">Can I 'ignore' query string variables before pulling
matching objects from the cache, but not actually remove them from
the URL to the end-user?</p>
<p style="margin: 0px 0px 1em; padding: 0px; border: 0px;
font-style: normal; font-variant-ligatures: normal;
font-variant-caps: normal; font-variant-numeric: inherit;
font-weight: normal; font-stretch: inherit; font-size: 15px;
line-height: inherit; font-family: Arial, "Helvetica
Neue", Helvetica, sans-serif; vertical-align: baseline;
clear: both; color: rgb(36, 39, 41); letter-spacing: normal;
orphans: 2; text-align: left; text-indent: 0px; text-transform:
none; white-space: normal; widows: 2; word-spacing: 0px;
-webkit-text-stroke-width: 0px; background-color: rgb(255, 255,
255); text-decoration-style: initial; text-decoration-color:
initial;">For example, all the marketing<span> </span><code style="margin: 0px; padding: 1px 5px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; font-size: 13px; line-height: inherit; font-family: Consolas, Menlo, Monaco, "Lucida Console", "Liberation Mono", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Courier New", monospace, sans-serif; vertical-align: baseline; background-color: rgb(239, 240, 241); white-space: pre-wrap;">utm_source</code>,<span> </span><code style="margin: 0px; padding: 1px 5px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; font-size: 13px; line-height: inherit; font-family: Consolas, Menlo, Monaco, "Lucida Console", "Liberation Mono", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Courier New", monospace, sans-serif; vertical-align: baseline; background-color: rgb(239, 240, 241); white-space: pre-wrap;">utm_campaign</code>,<span> </span><code style="margin: 0px; padding: 1px 5px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; font-size: 13px; line-height: inherit; font-family: Consolas, Menlo, Monaco, "Lucida Console", "Liberation Mono", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Courier New", monospace, sans-serif; vertical-align: baseline; background-color: rgb(239, 240, 241); white-space: pre-wrap;">utm_*</code><span> </span>values
don't change the content of the page, they just vary a lot from
campaign to campaign and are used by all of our client-side
tracking.</p>
<p style="margin: 0px 0px 1em; padding: 0px; border: 0px;
font-style: normal; font-variant-ligatures: normal;
font-variant-caps: normal; font-variant-numeric: inherit;
font-weight: normal; font-stretch: inherit; font-size: 15px;
line-height: inherit; font-family: Arial, "Helvetica
Neue", Helvetica, sans-serif; vertical-align: baseline;
clear: both; color: rgb(36, 39, 41); letter-spacing: normal;
orphans: 2; text-align: left; text-indent: 0px; text-transform:
none; white-space: normal; widows: 2; word-spacing: 0px;
-webkit-text-stroke-width: 0px; background-color: rgb(255, 255,
255); text-decoration-style: initial; text-decoration-color:
initial;">So this also means that the URL can't change on the
client side, but it should somehow be 'normalized' in the cache.</p>
<p style="margin: 0px 0px 1em; padding: 0px; border: 0px;
font-style: normal; font-variant-ligatures: normal;
font-variant-caps: normal; font-variant-numeric: inherit;
font-weight: normal; font-stretch: inherit; font-size: 15px;
line-height: inherit; font-family: Arial, "Helvetica
Neue", Helvetica, sans-serif; vertical-align: baseline;
clear: both; color: rgb(36, 39, 41); letter-spacing: normal;
orphans: 2; text-align: left; text-indent: 0px; text-transform:
none; white-space: normal; widows: 2; word-spacing: 0px;
-webkit-text-stroke-width: 0px; background-color: rgb(255, 255,
255); text-decoration-style: initial; text-decoration-color:
initial;">Essentially I want all of these...</p>
<p style="margin: 0px 0px 1em; padding: 0px; border: 0px;
font-style: normal; font-variant-ligatures: normal;
font-variant-caps: normal; font-variant-numeric: inherit;
font-weight: normal; font-stretch: inherit; font-size: 15px;
line-height: inherit; font-family: Arial, "Helvetica
Neue", Helvetica, sans-serif; vertical-align: baseline;
clear: both; color: rgb(36, 39, 41); letter-spacing: normal;
orphans: 2; text-align: left; text-indent: 0px; text-transform:
none; white-space: normal; widows: 2; word-spacing: 0px;
-webkit-text-stroke-width: 0px; background-color: rgb(255, 255,
255); text-decoration-style: initial; text-decoration-color:
initial;"><code style="margin: 0px; padding: 1px 5px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; font-size: 13px; line-height: inherit; font-family: Consolas, Menlo, Monaco, "Lucida Console", "Liberation Mono", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Courier New", monospace, sans-serif; vertical-align: baseline; background-color: rgb(239, 240, 241); white-space: pre-wrap;"><a class="moz-txt-link-freetext" href="http://example.com/page/?utm_source=google">http://example.com/page/?utm_source=google</a></code></p>
<p style="margin: 0px 0px 1em; padding: 0px; border: 0px;
font-style: normal; font-variant-ligatures: normal;
font-variant-caps: normal; font-variant-numeric: inherit;
font-weight: normal; font-stretch: inherit; font-size: 15px;
line-height: inherit; font-family: Arial, "Helvetica
Neue", Helvetica, sans-serif; vertical-align: baseline;
clear: both; color: rgb(36, 39, 41); letter-spacing: normal;
orphans: 2; text-align: left; text-indent: 0px; text-transform:
none; white-space: normal; widows: 2; word-spacing: 0px;
-webkit-text-stroke-width: 0px; background-color: rgb(255, 255,
255); text-decoration-style: initial; text-decoration-color:
initial;"><code style="margin: 0px; padding: 1px 5px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; font-size: 13px; line-height: inherit; font-family: Consolas, Menlo, Monaco, "Lucida Console", "Liberation Mono", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Courier New", monospace, sans-serif; vertical-align: baseline; background-color: rgb(239, 240, 241); white-space: pre-wrap;"><a class="moz-txt-link-freetext" href="http://example.com/page/?utm_source=facebook&utm_content=123">http://example.com/page/?utm_source=facebook&utm_content=123</a></code></p>
<p style="margin: 0px 0px 1em; padding: 0px; border: 0px;
font-style: normal; font-variant-ligatures: normal;
font-variant-caps: normal; font-variant-numeric: inherit;
font-weight: normal; font-stretch: inherit; font-size: 15px;
line-height: inherit; font-family: Arial, "Helvetica
Neue", Helvetica, sans-serif; vertical-align: baseline;
clear: both; color: rgb(36, 39, 41); letter-spacing: normal;
orphans: 2; text-align: left; text-indent: 0px; text-transform:
none; white-space: normal; widows: 2; word-spacing: 0px;
-webkit-text-stroke-width: 0px; background-color: rgb(255, 255,
255); text-decoration-style: initial; text-decoration-color:
initial;"><code style="margin: 0px; padding: 1px 5px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; font-size: 13px; line-height: inherit; font-family: Consolas, Menlo, Monaco, "Lucida Console", "Liberation Mono", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Courier New", monospace, sans-serif; vertical-align: baseline; background-color: rgb(239, 240, 241); white-space: pre-wrap;"><a class="moz-txt-link-freetext" href="http://example.com/page/?utm_campaign=usa">http://example.com/page/?utm_campaign=usa</a></code></p>
<p style="margin: 0px 0px 1em; padding: 0px; border: 0px;
font-style: normal; font-variant-ligatures: normal;
font-variant-caps: normal; font-variant-numeric: inherit;
font-weight: normal; font-stretch: inherit; font-size: 15px;
line-height: inherit; font-family: Arial, "Helvetica
Neue", Helvetica, sans-serif; vertical-align: baseline;
clear: both; color: rgb(36, 39, 41); letter-spacing: normal;
orphans: 2; text-align: left; text-indent: 0px; text-transform:
none; white-space: normal; widows: 2; word-spacing: 0px;
-webkit-text-stroke-width: 0px; background-color: rgb(255, 255,
255); text-decoration-style: initial; text-decoration-color:
initial;">... to all access HIT the cache for<span> </span><code style="margin: 0px; padding: 1px 5px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; font-size: 13px; line-height: inherit; font-family: Consolas, Menlo, Monaco, "Lucida Console", "Liberation Mono", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Courier New", monospace, sans-serif; vertical-align: baseline; background-color: rgb(239, 240, 241); white-space: pre-wrap;"><a class="moz-txt-link-freetext" href="http://example.com/page/">http://example.com/page/</a></code></p>
<p style="margin: 0px 0px 1em; padding: 0px; border: 0px;
font-style: normal; font-variant-ligatures: normal;
font-variant-caps: normal; font-variant-numeric: inherit;
font-weight: normal; font-stretch: inherit; font-size: 15px;
line-height: inherit; font-family: Arial, "Helvetica
Neue", Helvetica, sans-serif; vertical-align: baseline;
clear: both; color: rgb(36, 39, 41); letter-spacing: normal;
orphans: 2; text-align: left; text-indent: 0px; text-transform:
none; white-space: normal; widows: 2; word-spacing: 0px;
-webkit-text-stroke-width: 0px; background-color: rgb(255, 255,
255); text-decoration-style: initial; text-decoration-color:
initial;">However, this URL would cause a MISS (because the param
is not a utm_* param)</p>
<p style="margin: 0px 0px 1em; padding: 0px; border: 0px;
font-style: normal; font-variant-ligatures: normal;
font-variant-caps: normal; font-variant-numeric: inherit;
font-weight: normal; font-stretch: inherit; font-size: 15px;
line-height: inherit; font-family: Arial, "Helvetica
Neue", Helvetica, sans-serif; vertical-align: baseline;
clear: both; color: rgb(36, 39, 41); letter-spacing: normal;
orphans: 2; text-align: left; text-indent: 0px; text-transform:
none; white-space: normal; widows: 2; word-spacing: 0px;
-webkit-text-stroke-width: 0px; background-color: rgb(255, 255,
255); text-decoration-style: initial; text-decoration-color:
initial;"><code style="margin: 0px; padding: 1px 5px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; font-size: 13px; line-height: inherit; font-family: Consolas, Menlo, Monaco, "Lucida Console", "Liberation Mono", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Courier New", monospace, sans-serif; vertical-align: baseline; background-color: rgb(239, 240, 241); white-space: pre-wrap;"><a class="moz-txt-link-freetext" href="http://example.com/page/?utm_source=google&variation=5">http://example.com/page/?utm_source=google&variation=5</a></code></p>
<p style="margin: 0px 0px 1em; padding: 0px; border: 0px;
font-style: normal; font-variant-ligatures: normal;
font-variant-caps: normal; font-variant-numeric: inherit;
font-weight: normal; font-stretch: inherit; font-size: 15px;
line-height: inherit; font-family: Arial, "Helvetica
Neue", Helvetica, sans-serif; vertical-align: baseline;
clear: both; color: rgb(36, 39, 41); letter-spacing: normal;
orphans: 2; text-align: left; text-indent: 0px; text-transform:
none; white-space: normal; widows: 2; word-spacing: 0px;
-webkit-text-stroke-width: 0px; background-color: rgb(255, 255,
255); text-decoration-style: initial; text-decoration-color:
initial;">Would trigger the cache for</p>
<p style="margin: 0px 0px 1em; padding: 0px; border: 0px;
font-style: normal; font-variant-ligatures: normal;
font-variant-caps: normal; font-variant-numeric: inherit;
font-weight: normal; font-stretch: inherit; font-size: 15px;
line-height: inherit; font-family: Arial, "Helvetica
Neue", Helvetica, sans-serif; vertical-align: baseline;
clear: both; color: rgb(36, 39, 41); letter-spacing: normal;
orphans: 2; text-align: left; text-indent: 0px; text-transform:
none; white-space: normal; widows: 2; word-spacing: 0px;
-webkit-text-stroke-width: 0px; background-color: rgb(255, 255,
255); text-decoration-style: initial; text-decoration-color:
initial;"><code style="margin: 0px; padding: 1px 5px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; font-size: 13px; line-height: inherit; font-family: Consolas, Menlo, Monaco, "Lucida Console", "Liberation Mono", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Courier New", monospace, sans-serif; vertical-align: baseline; background-color: rgb(239, 240, 241); white-space: pre-wrap;"><a class="moz-txt-link-freetext" href="http://example.com/page/?variation=5">http://example.com/page/?variation=5</a></code></p>
<p style="margin: 0px 0px 1em; padding: 0px; border: 0px;
font-style: normal; font-variant-ligatures: normal;
font-variant-caps: normal; font-variant-numeric: inherit;
font-weight: normal; font-stretch: inherit; font-size: 15px;
line-height: inherit; font-family: Arial, "Helvetica
Neue", Helvetica, sans-serif; vertical-align: baseline;
clear: both; color: rgb(36, 39, 41); letter-spacing: normal;
orphans: 2; text-align: left; text-indent: 0px; text-transform:
none; white-space: normal; widows: 2; word-spacing: 0px;
-webkit-text-stroke-width: 0px; background-color: rgb(255, 255,
255); text-decoration-style: initial; text-decoration-color:
initial;">Also, keeping in mind that the URL the user sees must
remain the same, I can't redirect to something without params or
any kind of solution like that.</p>
<p style="margin: 0px 0px 1em; padding: 0px; border: 0px;
font-style: normal; font-variant-ligatures: normal;
font-variant-caps: normal; font-variant-numeric: inherit;
font-weight: normal; font-stretch: inherit; font-size: 15px;
line-height: inherit; font-family: Arial, "Helvetica
Neue", Helvetica, sans-serif; vertical-align: baseline;
clear: both; color: rgb(36, 39, 41); letter-spacing: normal;
orphans: 2; text-align: left; text-indent: 0px; text-transform:
none; white-space: normal; widows: 2; word-spacing: 0px;
-webkit-text-stroke-width: 0px; background-color: rgb(255, 255,
255); text-decoration-style: initial; text-decoration-color:
initial;">Would appreciate if you could help me with the above to
increase the performance of our site. <br>
</p>
<p style="margin: 0px 0px 1em; padding: 0px; border: 0px;
font-style: normal; font-variant-ligatures: normal;
font-variant-caps: normal; font-variant-numeric: inherit;
font-weight: normal; font-stretch: inherit; font-size: 15px;
line-height: inherit; font-family: Arial, "Helvetica
Neue", Helvetica, sans-serif; vertical-align: baseline;
clear: both; color: rgb(36, 39, 41); letter-spacing: normal;
orphans: 2; text-align: left; text-indent: 0px; text-transform:
none; white-space: normal; widows: 2; word-spacing: 0px;
-webkit-text-stroke-width: 0px; background-color: rgb(255, 255,
255); text-decoration-style: initial; text-decoration-color:
initial;">Thanks,</p>
<p style="margin: 0px 0px 1em; padding: 0px; border: 0px;
font-style: normal; font-variant-ligatures: normal;
font-variant-caps: normal; font-variant-numeric: inherit;
font-weight: normal; font-stretch: inherit; font-size: 15px;
line-height: inherit; font-family: Arial, "Helvetica
Neue", Helvetica, sans-serif; vertical-align: baseline;
clear: both; color: rgb(36, 39, 41); letter-spacing: normal;
orphans: 2; text-align: left; text-indent: 0px; text-transform:
none; white-space: normal; widows: 2; word-spacing: 0px;
-webkit-text-stroke-width: 0px; background-color: rgb(255, 255,
255); text-decoration-style: initial; text-decoration-color:
initial;">Pinakee<br>
</p>
</body>
</html>