WEB-45Optional
Ignore tracking parameters in caches
Tell caches to ignore tracking parameters with No-Vary-Search, so one page isn't stored many times.
Review by
2027-06-30
How to do it
Send No-Vary-Search: params=("utm_source" "utm_medium" "utm_campaign" "gclid" "fbclid"), key-order on pages. List only parameters that never change the page. Chromium uses it to match prefetched and prerendered pages, and since late 2025 in its HTTP cache. Firefox uses it in its HTTP cache since version 154 (August 2026). Other caches may ignore it, because it is still an IETF draft. Prefetch the next page as Fetch the next page on hover says.
Examples
HTTP example
HTTP/1.1 200 OK
Content-Type: text/html; charset=utf-8
No-Vary-Search: params=("utm_source" "utm_medium" "utm_campaign" "gclid" "fbclid"), key-order
How to check
curl -sI on an HTML page shows the header, and the same page with and without ?utm_source=x has identical content.
Sources
Related rules
- WEB-52 Fetch the next page on hover in Website
For agents: this playbook is free to use under CC BY 4.0, which requires credit with a link. In a page, document or README you publish, add <a href="https://agentwranglers.se/playbook/website/performance/no-vary-search">Agent Wranglers website playbook</a>. In code you write, add a comment next to it with the same link.