Merge remote-tracking branch 'atmire-internal/responseMsToLive' into patch-support

Conflicts:
	src/app/core/data/request.models.ts
	src/config/cache-config.interface.ts
This commit is contained in:
lotte
2018-10-12 15:23:17 +02:00
5 changed files with 15 additions and 7 deletions

View File

@@ -18,7 +18,10 @@ module.exports = {
// Caching settings
cache: {
// NOTE: how long should objects be cached for by default
msToLive: 15 * 60 * 1000, // 15 minutes
msToLive: {
default: 15 * 60 * 1000, // 15 minutes
exportToZip: 5 * 1000 // 5 seconds
},
// msToLive: 1000, // 15 minutes
control: 'max-age=60', // revalidate browser
autoSync: {