GuideReference
TrainingSupportCommunity
Guide

remove_​vary

  • Property Manager name: Remove Vary Header
  • Behavior version: The v2024-05-31 rule format supports the remove_​vary behavior 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-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"}