From d5c488196d09bde3eb098389fd5efc66af12e2c7 Mon Sep 17 00:00:00 2001 From: Danny Coates Date: Thu, 5 Sep 2019 13:32:59 -0700 Subject: [PATCH] no-cache harder --- server/routes/index.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/server/routes/index.js b/server/routes/index.js index 71e20409..05759815 100644 --- a/server/routes/index.js +++ b/server/routes/index.js @@ -67,7 +67,10 @@ module.exports = function(app) { } app.use(function(req, res, next) { res.set('Pragma', 'no-cache'); - res.set('Cache-Control', 'no-cache'); + res.set( + 'Cache-Control', + 'private, no-cache, no-store, must-revalidate, max-age=0' + ); next(); }); app.use(bodyParser.json());