Optional
pciOverride 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
surrogateOverride 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
swrOverride the caching behavior of this request to use the given stale-while-revalidate
time,
in seconds
Optional
ttlOverride the caching behavior of this request to use the given Time to Live (TTL), in seconds.
Generated using TypeDoc
Configures the caching behavior of a
Response
.Normally, the HTTP Headers on a Response would control how the Response is cached, but CacheOverride can be set on a
Request
, to define custom caching behavior.