- maxAge
Add a "max-age=" directive.This directive is well suited for publicly caching
resources, knowing tha
- getHeaderValue
Return the "Cache-Control" header value, if any.
- noCache
Add a "no-cache" directive.This directive is well suited for telling caches that
the response can be
- cachePublic
Add a "public" directive.This directive indicates that any cache MAY store the
response, even if the
- noStore
Add a "no-store" directive.This directive is well suited for preventing caches
(browsers and proxies
- cachePrivate
Add a "private" directive.This directive indicates that the response message is
intended for a singl
- noTransform
Add a "no-transform" directive.This directive indicates that intermediaries
(caches and others) shou
- sMaxAge
Add an "s-maxage" directive.This directive indicates that, in shared caches, the
maximum age specifi
- empty
Return an empty directive.This is well suited for using other optional
directives without "max-age",
- proxyRevalidate
Add a "proxy-revalidate" directive.This directive has the same meaning as the
"must-revalidate" dire
- staleIfError
Add a "stale-if-error" directive.This directive indicates that when an error is
encountered, a cache
- staleWhileRevalidate
Add a "stale-while-revalidate" directive.This directive indicates that caches
MAY serve the response