From 2e81715024364c8cf74268d0aaffc7c2d95a6fed Mon Sep 17 00:00:00 2001 From: Michael Jackson Date: Mon, 14 Jan 2019 20:02:45 -0800 Subject: [PATCH] Stronger cache invalidation --- modules/actions/serveMainPage.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/actions/serveMainPage.js b/modules/actions/serveMainPage.js index cd18785..810a604 100644 --- a/modules/actions/serveMainPage.js +++ b/modules/actions/serveMainPage.js @@ -19,7 +19,7 @@ export default function serveMainPage(req, res) { res .set({ - 'Cache-Control': 'public, max-age=0, must-revalidate', // do not cache + 'Cache-Control': 'no-cache, no-store, must-revalidate', // do not cache 'Cache-Tag': 'main' }) .send(html);