Options
All
  • Public
  • Public/Protected
  • All
Menu

Base class for Cache Override, which is used to configure caching behavior.

Hierarchy

Index

Properties

Properties

Optional pci

pci: boolean

Override the caching behavior of this request to enable or disable PCI/HIPAA-compliant non-volatile caching.

By default, this is false, which means the request may not be PCI/HIPAA-compliant. Set it to true to enable compliant caching.

See the Fastly PCI-Compliant Caching and Delivery documentation for details.

Optional surrogateKey

surrogateKey: string

Override the caching behavior of this request to include the given surrogate key, provided as a header value.

See the Fastly surrogate keys guide for details.

Optional swr

swr: number

Override the caching behavior of this request to use the given stale-while-revalidate time, in seconds

Optional ttl

ttl: number

Override the caching behavior of this request to use the given Time to Live (TTL), in seconds.

Legend

  • Constructor
  • Property
  • Method
  • Accessor
  • Property
  • Method

Generated using TypeDoc