[CST-5729] Add possibility to store response's headers into the SSR cache

This commit is contained in:
Giuseppe Digilio
2023-06-13 19:00:33 +02:00
parent 48ea7df8b2
commit 486aefebc7
3 changed files with 17 additions and 5 deletions

View File

@@ -78,6 +78,8 @@ export class DefaultAppConfig implements AppConfig {
// In-memory cache of server-side rendered content
serverSide: {
debug: false,
// Link header is used for signposting functionality
headers: ['Link'],
// Cache specific to known bots. Allows you to serve cached contents to bots only.
// Defaults to caching 1,000 pages. Each page expires after 1 day
botCache: {