Skip to content

Type Alias: CachePluginHitpass

ts
type CachePluginHitpass = (ctx) => boolean | Promise<boolean>;

Defined in: common.ts:59

Decides, per request, whether the cache should be bypassed entirely.

Parameters

ParameterType
ctxContext

Returns

boolean | Promise<boolean>