CacheControlDirectives
Overview
See
Usage
- Node
- Deno
import { CacheControlDirectives } from 'keywork/http/headers/caching'
import { CacheControlDirectives } from 'https://deno.land/x/keywork/http/headers/caching'
Indexable
▪ [cacheControlKey: string
]: number
| boolean
| string
Properties
immutable
immutable: `boolean`
Defined in
http/headers/caching/mod.ts:62
max-age
max-age: `number`
Defined in
http/headers/caching/mod.ts:60
max-stale
max-stale: `number`
Defined in
http/headers/caching/mod.ts:63
min-fresh
min-fresh: `number`
Defined in
http/headers/caching/mod.ts:64
must-revalidate
must-revalidate: `boolean`
Defined in
http/headers/caching/mod.ts:61
no-cache
no-cache: `boolean`
Defined in
http/headers/caching/mod.ts:65
no-store
no-store: `boolean`
Defined in
http/headers/caching/mod.ts:66
no-transform
no-transform: `boolean`
Defined in
http/headers/caching/mod.ts:67
only-if-cached
only-if-cached: `boolean`
Defined in
http/headers/caching/mod.ts:68
private
private: `boolean`
Defined in
http/headers/caching/mod.ts:69
proxy-revalidate
proxy-revalidate: `boolean`
Defined in
http/headers/caching/mod.ts:70
public
public: `boolean`
Defined in
http/headers/caching/mod.ts:71
s-maxage
s-maxage: `number`
Defined in
http/headers/caching/mod.ts:72
stale-if-error
stale-if-error: `boolean`
Defined in
http/headers/caching/mod.ts:73
stale-while-revalidate
stale-while-revalidate: `number`
Defined in
http/headers/caching/mod.ts:74
Directives for the Cache-Control header.