Class: CacheRouteConfig
Defined in: CacheRouteConfig.ts:11
Constructors
Constructor
ts
new CacheRouteConfig(options?): CacheRouteConfig;Defined in: CacheRouteConfig.ts:25
Parameters
| Parameter | Type |
|---|---|
options | CacheRouteConfigInput |
Returns
CacheRouteConfig
Properties
| Property | Type | Default value | Description | Defined in |
|---|---|---|---|---|
hitpass | boolean | CachePluginHitpass | false | - | CacheRouteConfig.ts:23 |
keys | CacheKeysConfig | undefined | - | CacheRouteConfig.ts:21 |
maxAge | Milliseconds | undefined | Milliseconds. See the Milliseconds brand for why this is not a bare number. | CacheRouteConfig.ts:13 |
method | HttpMethod | 'GET' | - | CacheRouteConfig.ts:17 |
paramNames | string[] | [] | - | CacheRouteConfig.ts:19 |
path | ConfiguredRoutePath | undefined | - | CacheRouteConfig.ts:15 |