Skip to main content
Module

x/keywork/http/headers/caching/mod.ts>CacheControlDirectives

A library for building V8 Isolate web apps on Cloudflare Workers, Deno, and Node.JS
Go to Latest
interface CacheControlDirectives
import { type CacheControlDirectives } from "https://deno.land/x/keywork@v6.0.1/http/headers/caching/mod.ts";

Directives for the Cache-Control header.

Index Signatures

[cacheControlKey: string]: number | boolean | string

Properties

max-age: number
must-revalidate: boolean
immutable: boolean
max-stale: number
min-fresh: number
no-cache: boolean
no-store: boolean
no-transform: boolean
only-if-cached: boolean
private: boolean
proxy-revalidate: boolean
public: boolean
s-maxage: number
stale-if-error: boolean
stale-while-revalidate: number