Restore web max-age to 5 minutes (#4246)
This commit is contained in:
parent
16230f320e
commit
46f1e8c599
1 changed files with 1 additions and 1 deletions
|
@ -237,7 +237,7 @@ router.get('*', async ctx => {
|
|||
await ctx.render('base', {
|
||||
img: meta.bannerUrl
|
||||
});
|
||||
ctx.set('Cache-Control', 'public, max-age=86400');
|
||||
ctx.set('Cache-Control', 'public, max-age=300');
|
||||
});
|
||||
|
||||
// Register router
|
||||
|
|
Loading…
Reference in a new issue