Skip to main content
Module

x/workers_middleware/caching.ts>CacheOptions

Placeholder for Worker-based middleware solution
Latest
type alias CacheOptions
import { type CacheOptions } from "https://deno.land/x/workers_middleware@v0.1.0-pre.36/caching.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]