removeVary


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.

OptionTypeDescriptionRequires
enabledboolean

When enabled, removes the Vary header to ensure objects can be cached.

{"displayType":"boolean","tag":"input","type":"checkbox"}