Add "debug" config and "allowStale" configs

This commit is contained in:
Tim Donohue
2023-02-07 12:22:32 -06:00
parent a150c64e2f
commit c099bc468d
5 changed files with 33 additions and 6 deletions

View File

@@ -58,13 +58,16 @@ export const environment: BuildConfig = {
},
// In-memory cache of server-side rendered pages. Disabled in test environment (max=0)
serverSide: {
debug: false,
botCache: {
max: 0,
timeToLive: 24 * 60 * 60 * 1000, // 1 day
allowStale: true,
},
anonymousCache: {
max: 0,
timeToLive: 10 * 1000, // 10 seconds
allowStale: true,
}
}
},