MCPcopy Index your code
hub / github.com/github/docs / searchCacheControl

Function searchCacheControl

middleware/cache-control.js:52–55  ·  view source on GitHub ↗
(res)

Source from the content-addressed store, hash-verified

50 key: 'surrogate-control',
51})
52export function searchCacheControl(res) {
53 searchBrowserCacheControl(res)
54 searchCdnCacheControl(res)
55}
56
57// 24 hours for CDN, we soft-purge this with each deploy
58const defaultCDNCacheControl = cacheControlFactory(60 * 60 * 24, {

Callers 1

search.jsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected