- Property Manager name: Remove Vary Header
- Behavior version: The
v2025-09-09rule format supports theremoveVarybehavior v1.1. - Rule format status: GA, stable
- Access: Read/Write
- Allowed in includes: Yes
By default, responses that feature a Vary header value of anything other than Accept-Encoding and a corresponding Content-Encoding: gzip header aren't cached on edge servers. Vary headers indicate when a URL's content varies depending on some variable, such as which User-Agent requests it. This behavior simply removes the Vary header to make responses cacheable.
Warning. If your site relies on
Vary: User-Agentto customize content, removing the header may lead the edge to serve content inappropriate for specific devices.
| Option | Type | Description | Requires | |
|---|---|---|---|---|
enabled | boolean | When enabled, removes the | {"displayType":"boolean","tag":"input","type":"checkbox"} |
