- Property Manager name: Remove Vary Header
- Behavior version: The
v2024-08-13
rule format supports theremoveVary
behavior v1.1. - Rule format status: Deprecated, outdated rule format
- 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-Agent
to 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"} |