HTTP Vary Header Builder
NetworkBuild a Vary response header from the request headers a response varies by (Accept-Encoding, Accept-Language, Authorization, etc.), with a plain-English note on the caching implication of each, or parse an existing Vary header to explain it.
Pick which request headers a cached response should vary by and get the assembled Vary header value back, with a plain-English note on what each header does to a shared cache. A missing or wrong Vary header is a common CDN cache-poisoning footgun: a CDN that ignores Accept-Encoding can serve a gzip-compressed body to a client that never sent an Accept-Encoding header, or a response that differs by Authorization can leak one user's data into another user's cache entry if Vary is not set. This tool also parses an existing Vary header you paste in, useful for auditing what a server is already doing.
How to use HTTP Vary Header Builder
- 1.Toggle the request headers your response varies by, or type a custom header name and add it.
- 2.Copy the generated Vary header value, or read the per-header caching note to understand the tradeoff before you ship it.
- 3.Paste an existing Vary header into the bottom field to get the same explanation for a header you found on a real response.
Frequently asked questions
Use via API, SDK, or MCP
cURL# Free: 1,000 req/day · Pro: 10,000 req/day
curl -X POST https://api.utilix.tech/v1/tools/vary-header-builder \
-H "Authorization: Bearer utx_live_..." \
-H "Content-Type: application/json" \
-d '{"headers":["Accept-Encoding","Accept-Language"],"varyHeader":"Accept-Encoding, Accept-Language"}'Get an API key from your dashboard · Full API docs →