Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

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

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

Properties

Age: string

The time, in seconds, that the object has been in a proxy cache.

Cache-Control: string

Directives for caching mechanisms in both requests and responses.

Clear-Site-Data: string

Clears browsing data (e.g. cookies, storage, cache) associated with the requesting website.

Expires: string

The date/time after which the response is considered stale.

Pragma: string

Implementation-specific header that may have various effects anywhere along the request-response chain. Used for backwards compatibility with HTTP/1.0 caches where the Cache-Control header is not yet present.