Restore web max-age to 5 minutes (#4246)
This commit is contained in:
parent
16230f320e
commit
46f1e8c599
|
@ -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 New Issue