Skip to main content

createCacheControlHeader

Overview

createCacheControlHeader

(options): [`CacheControlHeader`](../types/CacheControlHeader.mdx)

Creates a Cache-Control header from the given object. Generally, this is an internal function, but it may prove useful in unusual circumstances.

See Keywork#HTTP#Response.CachableResponse CachableResponse

Parameters

NameType
optionsundefined

Returns

CacheControlHeader

Defined in

http/headers/caching/mod.ts:87