Skip to content

Class: CacheRouteConfig ​

Defined in: CacheRouteConfig.ts:11

Constructors ​

Constructor ​

ts
new CacheRouteConfig(options?): CacheRouteConfig;

Defined in: CacheRouteConfig.ts:25

Parameters ​

ParameterType
optionsCacheRouteConfigInput

Returns ​

CacheRouteConfig

Properties ​

PropertyTypeDefault valueDescriptionDefined in
hitpassboolean | CachePluginHitpassfalse-CacheRouteConfig.ts:23
keysCacheKeysConfigundefined-CacheRouteConfig.ts:21
maxAgeMillisecondsundefinedMilliseconds. See the Milliseconds brand for why this is not a bare number.CacheRouteConfig.ts:13
methodHttpMethod'GET'-CacheRouteConfig.ts:17
paramNamesstring[][]-CacheRouteConfig.ts:19
pathConfiguredRoutePathundefined-CacheRouteConfig.ts:15