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
| Parameter | Type |
|---|---|
ctx | Context |
Returns
boolean | Promise<boolean>