CacheControlBase
import { CacheControlBase } from "jsr:@ende/http/unstable-cache-control";interface ยท experimental
interface CacheControlBaseDirectives shared by both request and response Cache-Control headers.
See also
Properties
noStore
noStore?: trueWhen present, the cache must not store the request or response.
noTransform
noTransform?: trueWhen present, the cache must not transform the payload.
maxAge
maxAge?: numberMaximum age in seconds. In a request: accept responses whose age is no greater than this. In a response: the response is stale after this many seconds.
staleIfError
staleIfError?: numberAllow use of stale response if revalidation fails (seconds).