01What is No-Vary-Search Tester?
No-Vary-Search Tester shows how the No-Vary-Search response header changes HTTP caching. Normally a cache stores one response per full URL. /item?id=42 and /item?id=42&utm_source=news are separate entries, even when the server returns the same page. The No-Vary-Search header, specified in the IETF draft draft-ietf-httpbis-no-vary-search (revision 09, August 2026), lets the server say which parts of the query string don't matter. MDN documents that the Speculation Rules API uses it to reuse a prefetched or prerendered page for different query parameters, and caniuse lists HTTP cache support from Chrome 141. A page prefetched as /search?q=shoes can then serve a click on /search?q=shoes&ref=home. The header is a Structured Field dictionary with three keys. key-order means the order of parameters doesn't matter. params=("a" "b") lists parameters to ignore. except=("x") ignores every parameter except the ones listed. Paste a value and the tool parses it with the draft's algorithm from section 5. It shows the resulting URL variation config: ignored parameters, parameters that matter, and whether order matters. The draft is strict on purpose. Anything unexpected makes the whole header fall back to the default, which is exact query matching. That includes a token instead of a quoted string, a boolean where a list should be, or params and except together. The tool tells you when that happens and why. Keys are decoded as the draft says: plus becomes a space, then percent-decoding and UTF-8. So params=("%C3%A9+%E6%B0%97") ignores the key "é 気". Next, enter the cached URL and the new request URL. The tool runs the comparison from section 6. It parses both queries as application/x-www-form-urlencoded with the browser's URLSearchParams, filters them, sorts by key if key-order is set, and compares what is left. It shows exactly what was compared. That reproduces the draft's own equivalence table. For example, ?a=x matches ?%61=%78, ?a=x&&&& matches ?a=x, and ?a=+ matches ?a= & once a non-default header is present. With no header at all, the queries must match exactly, so /a and /a? count as different. A builder writes a header from a list of parameter names. The tool can't tell you whether a particular cache or CDN supports No-Vary-Search; support differs, and the draft may still change. Older examples on the web, including the form params, except=("id"), are invalid under revision 09, which rejects params and except together. It works entirely in your browser. Sources: draft-ietf-httpbis-no-vary-search-09 (https://datatracker.ietf.org/doc/draft-ietf-httpbis-no-vary-search/), sections 3 to 6 and Tables 1 to 4; MDN, No-Vary-Search (https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/No-Vary-Search); caniuse, No-Vary-Search (https://caniuse.com/mdn-http_headers_no-vary-search).
Front-end and performance engineers working on prefetching and caching, and CDN or platform teams. The tool runs entirely in your browser, so your data never leaves your device.
02How to use No-Vary-Search Tester
- Paste the No-Vary-Search header value your server sends
- Check the parsed config: ignored parameters, parameters that matter and key order
- Enter a cached URL and a new request URL to see if they match
- Use Build a header to write a value from a list of parameter names, then test it
03Worked examples
- Input:
No-Vary-Search: params=("utm_source" "utm_medium" "utm_campaign") A: https://shop.example/item?id=42&utm_source=news B: https://shop.example/item?id=42 - Result:
Match: same cache entry. Equivalent: a cache that supports No-Vary-Search can reuse one response for the other. - The tracking parameter is ignored.
- Input:
No-Vary-Search: key-order, except=("productId") A: https://shop.example/p?ref=mail&productId=7 B: https://shop.example/p?productId=7&lang=de - Result:
Match: same cache entry. Ignored params: * (all); params that matter: "productId"; order matters: no - Only productId is compared.
- Input:
No-Vary-Search: params=("utm_source") A: https://example.com/search?q=cats&page=2 B: https://example.com/search?page=2&q=cats - Result:
No match: Parameter 1 differs: "q" vs "page" (order matters). - Without key-order, a different parameter order is a different entry.
- Input:
No-Vary-Search: params=("a"), except=("x") - Result:
params and except cannot both be present. Result: default behaviour. - One of the invalid inputs from Table 2 of the draft.
04Common use cases
- Letting prefetched or prerendered pages serve URLs with tracking parameters such as utm_source
- Checking a No-Vary-Search value before deploying it, since invalid values silently do nothing
- Explaining why two URLs did or did not hit the same cache entry
- Choosing between a params blocklist and an except allowlist for a search or product page
- Testing how percent-encoding, empty values and parameter order affect matching
05Tips
- Quote every parameter name: params=(utm_source) is invalid and the whole header is ignored
- Don't send params and except together; caches then fall back to exact matching
- except is safer for pages with few meaningful parameters, because new tracking parameters are ignored automatically
- Cache-busting query parameters stop working for keys you tell caches to ignore
06Related concepts
No-Vary-Search, HTTP caching, Speculation Rules, prefetch, query parameters, Structured Field Values.
Frequently Asked Questions
What is No-Vary-Search Tester?
No-Vary-Search Tester is a free, browser-based developer tool on AIDToolStack. Parse a No-Vary-Search response header, see which query parameters caches ignore, and test whether two URLs would reuse the same cached response. It requires no installation or sign-up and works entirely in your browser.
Is No-Vary-Search Tester free to use?
Yes. No sign-up, no fees and no usage cap.
Does No-Vary-Search Tester store my data?
No. It runs in your browser; nothing is uploaded.