Enum fastly_shared::CacheOverride [−][src]
pub enum CacheOverride {
None,
Pass,
Override {
ttl: Option<u32>,
stale_while_revalidate: Option<u32>,
pci: bool,
surrogate_key: Option<HeaderValue>,
},
}
Expand description
Optional override for response caching behavior.
Variants
Do not override the behavior specified in the origin response’s cache control headers.
Do not cache the response to this request, regardless of the origin response’s headers.
Override particular cache control settings.
The origin response’s cache control headers will be used for ttl and stale_while_revalidate if None
.
Fields of Override
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for CacheOverride
impl Send for CacheOverride
impl Sync for CacheOverride
impl Unpin for CacheOverride
impl UnwindSafe for CacheOverride
Blanket Implementations
Mutably borrows from an owned value. Read more