Skip to content

Documentation / @warp-drive/core / store / CacheControlValue

Interface: CacheControlValue

Defined in: warp-drive-packages/core/src/store/-private/default-cache-policy.ts:63

Interface of a parsed Cache-Control header value.

Properties

immutable?

ts
optional immutable: boolean;

Defined in: warp-drive-packages/core/src/store/-private/default-cache-policy.ts:64


max-age?

ts
optional max-age: number;

Defined in: warp-drive-packages/core/src/store/-private/default-cache-policy.ts:65


must-revalidate?

ts
optional must-revalidate: boolean;

Defined in: warp-drive-packages/core/src/store/-private/default-cache-policy.ts:66


must-understand?

ts
optional must-understand: boolean;

Defined in: warp-drive-packages/core/src/store/-private/default-cache-policy.ts:67


no-cache?

ts
optional no-cache: boolean;

Defined in: warp-drive-packages/core/src/store/-private/default-cache-policy.ts:68


no-store?

ts
optional no-store: boolean;

Defined in: warp-drive-packages/core/src/store/-private/default-cache-policy.ts:69


no-transform?

ts
optional no-transform: boolean;

Defined in: warp-drive-packages/core/src/store/-private/default-cache-policy.ts:70


only-if-cached?

ts
optional only-if-cached: boolean;

Defined in: warp-drive-packages/core/src/store/-private/default-cache-policy.ts:71


private?

ts
optional private: boolean;

Defined in: warp-drive-packages/core/src/store/-private/default-cache-policy.ts:72


proxy-revalidate?

ts
optional proxy-revalidate: boolean;

Defined in: warp-drive-packages/core/src/store/-private/default-cache-policy.ts:73


public?

ts
optional public: boolean;

Defined in: warp-drive-packages/core/src/store/-private/default-cache-policy.ts:74


s-maxage?

ts
optional s-maxage: number;

Defined in: warp-drive-packages/core/src/store/-private/default-cache-policy.ts:75


stale-if-error?

ts
optional stale-if-error: number;

Defined in: warp-drive-packages/core/src/store/-private/default-cache-policy.ts:76


stale-while-revalidate?

ts
optional stale-while-revalidate: number;

Defined in: warp-drive-packages/core/src/store/-private/default-cache-policy.ts:77

Released under the MIT License.