From 66b607843a29429fffe95f0de23427f35711827a Mon Sep 17 00:00:00 2001 From: Michael Jackson Date: Sat, 12 Jan 2019 20:53:25 -0800 Subject: [PATCH] Increase cache max-age for auto-index pages --- modules/actions/serveAutoIndexPage.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/actions/serveAutoIndexPage.js b/modules/actions/serveAutoIndexPage.js index 87401dc..1a444ac 100644 --- a/modules/actions/serveAutoIndexPage.js +++ b/modules/actions/serveAutoIndexPage.js @@ -41,7 +41,7 @@ export default function serveAutoIndexPage(req, res) { res .set({ - 'Cache-Control': 'public, max-age=600', // 10 minutes + 'Cache-Control': 'public, max-age=14400', // 4 hours 'Cache-Tag': 'auto-index' }) .send(html);