[perf] increase cache TTL, they get invalidated when necessary anyway

This commit is contained in:
Avris 2021-11-20 12:17:01 +01:00
parent 0d6ef94f1e
commit 02ec5fede8
1 changed files with 6 additions and 6 deletions

View File

@ -33,11 +33,11 @@ export class CacheObject {
}
export const caches = {
admins: new CacheObject('main', 'admins.js', 10),
adminsFooter: new CacheObject('main', 'footer.js', 10),
admins: new CacheObject('main', 'admins.js', 24 * 60),
adminsFooter: new CacheObject('main', 'footer.js', 24 * 60),
blog: new CacheObject('main', 'blog.js', Infinity),
nouns: new CacheObject('main', 'nouns.js', 10),
terms: new CacheObject('main', 'terms.js', 10),
inclusive: new CacheObject('main', 'inclusive.js', 10),
names: new CacheObject('main', 'names.js', 10),
nouns: new CacheObject('main', 'nouns.js', 24 * 60),
terms: new CacheObject('main', 'terms.js', 24 * 60),
inclusive: new CacheObject('main', 'inclusive.js', 24 * 60),
names: new CacheObject('main', 'names.js', 24 * 60),
}