CacheOverrideMode

Type aliasin cache-override@fastly/js-compute 4.0.0View source
type CacheOverrideMode = 'none' | 'pass' | 'override'

Alias for 'none' | 'pass' | 'override'.

The cache override mode for a request

If set to:

  • "none": Do not override the behavior specified in the origin response’s cache control headers.
  • "pass": Do not cache the response to this request, regardless of the origin response’s headers.
  • "override": Override particular cache control settings using a CacheOverride object.