Class: CachePluginStrategy
Defined in: CachePluginStrategy.ts:7
Constructors
Constructor
ts
new CachePluginStrategy(options?): CachePluginStrategy;Defined in: CachePluginStrategy.ts:34
Parameters
| Parameter | Type |
|---|---|
options | CachePluginStrategyInput |
Returns
CachePluginStrategy
Properties
| Property | Type | Default value | Description | Defined in |
|---|---|---|---|---|
clearRelatedCache | boolean | true | - | CachePluginStrategy.ts:23 |
contentTypes | CacheContentTypeConfig[] | [] | - | CachePluginStrategy.ts:30 |
debug | boolean | false | - | CachePluginStrategy.ts:8 |
enableAdminCTBMiddleware | boolean | true | - | CachePluginStrategy.ts:14 |
enableContentApiPurge | boolean | false | - | CachePluginStrategy.ts:18 |
enableDocumentServiceMiddleware | boolean | true | - | CachePluginStrategy.ts:16 |
enableEtag | boolean | false | - | CachePluginStrategy.ts:10 |
enableXCacheHeaders | boolean | false | - | CachePluginStrategy.ts:12 |
keys | CacheKeysConfig | undefined | - | CachePluginStrategy.ts:32 |
keysPrefix | string | '' | - | CachePluginStrategy.ts:28 |
maxAge | Milliseconds | undefined | Milliseconds. | CachePluginStrategy.ts:26 |
resetOnStartup | boolean | false | - | CachePluginStrategy.ts:20 |