Every UTM tag on your short link is a cache miss
No-Vary-Search lets browsers reuse a cached landing page across tracking parameters. Chrome and Firefox honour it, and Chrome is dropping the syntax most guides show.

A short link that adds utm_source=newsletter to its destination hands the landing page a URL no cache has seen before. The same page reached through the newsletter link, the LinkedIn link and the QR code on a poster is three different URLs, so a browser that already has the page stored still goes back to the network. No-Vary-Search is the response header that fixes this: the page tells caches which query parameters do not change it, and a stored copy can be reused across them.
Two things changed this autumn. The IETF draft is in the RFC Editor queue, and Chrome filed an intent on 12 November 2026 to remove the older syntax that most blog posts and MDN still show. If you copy a header from a tutorial today, there is a fair chance it is the form that is about to stop working.
What the header does, and what it does not
No-Vary-Search changes one thing: how a cache decides whether a stored response matches a new request. The draft says caches that implement it "use these instructions to determine when a previously stored response can be safely reused for a new request, even if the query components of the target URIs differ" (draft, section 1).
It does not strip parameters. The address bar, location.search, your analytics tag and your server logs (on the requests that do reach the server) all still see ?utm_source=newsletter. It is not a privacy feature and it does not change attribution. It only means that the second tagged visit to a page the browser already cached can be served from that cache instead of the network.
It also works next to Vary, not instead of it: the field "operates in addition to content negotiation and the Vary header field" (section 7). And the parameters come from somewhere. In most campaigns that place is the redirect: the short link's destination URL carries the tags. That makes the redirect the one place where the full list of tracking parameters is known.
The syntax the spec accepts
The header is a Structured Fields dictionary with three keys (draft, section 3):
key-order: a boolean. When present,?a=1&b=2and?b=2&a=1match.params: an inner list of strings. The listed parameters are ignored for matching; everything else still counts.except: an inner list of strings. Only the listed parameters count; every other parameter is ignored.
The rule that trips people up: "The except entry MUST NOT be present if the params entry is also present" (section 3). params is no longer a boolean either. The draft's examples table lists params=?1 (the long form of a bare params) as invalid because "params expects an inner list, not a boolean", and lists params=("a"), except=("x") as invalid because both keys are present (draft -10, section 5.2.1).
So, for a landing page behind tagged links:
# Ignore the tracking parameters your links append
No-Vary-Search: params=("utm_source" "utm_medium" "utm_campaign" "utm_content" "utm_term" "gclid" "fbclid")
# Only "productId" matters; ignore every other parameter
No-Vary-Search: except=("productId")
# Ignore every query parameter
No-Vary-Search: except=()
# Ignore parameter order as well
No-Vary-Search: key-order, params=("utm_source" "utm_medium" "utm_campaign")
Two easy mistakes. params=() is valid but means the opposite of what it looks like: no parameter is ignored. And list items are separated by spaces, not commas, as in every example in the draft.
The parser is strict on purpose. Section 5.1 says it "tends to return the default URL variation config whenever it sees something it doesn't recognize", and the default is exact matching. A malformed header costs you cache hits, never correctness.
The old syntax is everywhere, and Chrome is removing it
Earlier drafts allowed a boolean params meaning "ignore everything", with except only valid next to it. That is the form MDN still documents (No-Vary-Search: params, except=("param1" "param2")), and it appears in RUMvision's March guide and DebugBear's May post. Harry Roberts updated his CSS Wizardry article to say the boolean form is gone and that "to ignore all search parameters, use an empty except list".
Chrome's intent to deprecate and remove is explicit: "The params member can no longer take a boolean value, and except is now used on its own rather than in combination with params." Chrome "will migrate to the new syntax in stages", DevTools will show a deprecation warning, and no milestones were given. In the follow-up, Adam Rice from the Chrome networking team spelled out the cost of not moving: "Sites who don't get the memo will get more cache misses."
That leaves one form that is safe in every implementation today and after the change: params=(...) with an explicit list. It has meant the same thing in every draft. That happens to be exactly the form you need for tracking parameters. If you use except for an allowlist, write it alone, test it in the browsers you care about, and expect behaviour to shift while Chrome migrates.
Who honours it today
Browsers, mostly:
- Chrome and Edge: the HTTP disk cache since version 141. Chrome's intent to ship from September 2025 targeted 141 on desktop and 142 on Android and WebView; prefetch and prerender support came earlier. caniuse lists Edge from 141 too.
- Firefox: the HTTP disk cache since Firefox 154, released 18 August 2026. Not for speculation rules.
- Safari: no support, per caniuse.
CDNs are the gap. Cloudflare's cache key documentation (updated October 2026) does not mention the header, and its Vary support launched in September 2026 does not either. http.dev sums up the situation: "many CDNs treat the full query string as part of the cache key regardless of No-Vary-Search."
So treat it as two separate fixes. The header gives you browser reuse now. At the edge, normalise the cache key yourself: Cloudflare's Query String include/exclude setting lets you drop named parameters (Enterprise only, per that page), while "Ignore query string" drops the whole query on every plan, which is only safe for pages that never vary on a parameter. Excluding parameters from the CDN key does not remove them from the request, so your origin and its analytics still see them on a cache miss.
The draft also adds a rule for anyone in between: intermediaries "MUST NOT insert, delete, or modify the field's value" unless they are acting as the origin (section 3). The header belongs to the page, not to the CDN or the redirect.
Setting it on the landing page
Send it only on pages that sit behind tagged links and do not vary on those parameters. The same list in three common stacks:
location /landing/ {
add_header No-Vary-Search 'params=("utm_source" "utm_medium" "utm_campaign" "utm_content" "utm_term" "gclid" "fbclid")';
}app.get('/landing/:slug', (req, res) => {
res.set('No-Vary-Search', 'params=("utm_source" "utm_medium" "utm_campaign" "utm_content" "utm_term" "gclid" "fbclid")');
res.render('landing');
});module.exports = {
headers() {
return [
{
source: '/landing/:slug',
headers: [
{
key: 'No-Vary-Search',
value: 'params=("utm_source" "utm_medium" "utm_campaign" "utm_content" "utm_term" "gclid" "fbclid")',
},
],
},
]
},
}In nginx, remember that add_header directives are inherited from the previous level only "if and only if there are no add_header directives defined on the current level". Adding this line to a location silently drops the security headers you set at server level unless you repeat them there.
The header does nothing for a response that is never stored. Many HTML pages ship Cache-Control: no-store, and RUMvision notes that in that case "No-Vary-Search has no effect". Give the page a cacheable policy first, even a short max-age.
Where the link fits
Every parameter in that list has to come from somewhere, and a header that misses one still misses the cache. Keep the list short and fixed by deciding at the redirect which parameters exist at all: the five standard utm_* keys in a consistent naming scheme (our UTM hygiene playbook covers that part), plus whatever click IDs your ad platforms add.
In rii.link, campaign tags are part of the link. The UTM builder and the API's utm field write the tags onto the destination URL, replacing a tag that is already there rather than duplicating it, and each routing-rule destination can carry its own tags. Reports keep the tags on the short URL and on the destination actually served apart. Because the API returns those tags in every link's utm field, your links already tell you which keys your campaigns send, and that is the list your landing page's params=(...) needs.
A rollout checklist
- Inventory. List every query parameter your links and ad platforms add. Anything not on the list still busts the cache.
- Classify. Mark parameters the page really uses (search, pagination, variants, tokens) and leave them out.
- Write the list form.
params=(...), space-separated, quoted strings, no booleanparams, noparamsplusexcept. - Make the page cacheable. No
no-store; amax-agethat matches how often it changes. - Verify in two browsers. Load the page through one tagged URL, then through another. In Chrome or Firefox DevTools, the second navigation should come from the disk cache. Watch for Chrome's deprecation warning while it migrates.
- Fix the edge separately. Normalise the CDN cache key for the same parameters; the header alone will not do it there yet.
- Watch analytics for a week. Tagged sessions should still arrive with their parameters. If they do not, something stripped the URL, and it was not this header.
Written by
Florian
Florian builds rii.link, the routing layer behind short links: redirects, dynamic responses and links that answer AI agents. He writes The Redirect about what happens between a click and its destination.


