Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/blocks/utils/http.ts>CacheControl

Git-based Visual CMS for Deno, </> htmx and Tailwind apps. Deploy on any Deno-compatible host.
Latest
type alias CacheControl
import { type CacheControl } from "https://deno.land/x/blocks@1.107.0/utils/http.ts";
definition: Partial<{ max-age: number; s-maxage: number; stale-while-revalidate: number; stale-if-error: number; public: boolean; private: boolean; no-cache: boolean; no-store: boolean; must-revalidate: boolean; proxy-revalidate: boolean; immutable: boolean; no-transform: boolean; }>