Skip to main content
Module

x/shed/index.ts>CacheOptions

All Worker Tools under a single roof
Latest
type alias CacheOptions
import { type CacheOptions } from "https://deno.land/x/shed@v0.1.0-pre.10/index.ts";

The Cache-Control HTTP header field holds directives (instructions) — in both requests and responses — that control caching in browsers and shared caches (e.g. Proxies, CDNs).

definition: [K in keyof CacheControl]: CacheControl[K] extends (number | null | undefined) ? number | Temporal.Duration | null : CacheControl[K]