Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/directus/directus
/ cache.ts
File
cache.ts
api/src/middleware/cache.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ useEnv } from
'@directus/env'
;
2
import
{ toBoolean } from
'@directus/utils'
;
3
import
type
{ RequestHandler } from
'express'
;
4
import
{ getCache, getCacheValue } from
'../cache.js'
;
Callers
nothing calls this directly
Calls
14
useEnv
Function · 0.90
toBoolean
Function · 0.90
asyncHandler
Function · 0.85
useLogger
Function · 0.85
getEntitlementManager
Function · 0.85
shouldSkipCache
Function · 0.85
getCacheKey
Function · 0.85
getCacheValue
Function · 0.85
getCacheControlHeader
Function · 0.85
useBufferedCounter
Function · 0.85
isEntitled
Method · 0.80
increment
Method · 0.65
Tested by
no test coverage detected