From 46f1e8c599fb1183b85ba24a95871eaeda0f8148 Mon Sep 17 00:00:00 2001 From: MeiMei <30769358+mei23@users.noreply.github.com> Date: Thu, 14 Feb 2019 13:41:28 +0900 Subject: [PATCH] Restore web max-age to 5 minutes (#4246) --- src/server/web/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server/web/index.ts b/src/server/web/index.ts index 3f2e1ed19..589e476d6 100644 --- a/src/server/web/index.ts +++ b/src/server/web/index.ts @@ -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