From 505cd9ab8aceefd8620e1183e834fbbc765c6c94 Mon Sep 17 00:00:00 2001 From: Michael Jackson Date: Mon, 29 Aug 2016 17:33:23 -0700 Subject: [PATCH] Add Cache-Control header to / --- modules/server/MainController.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/server/MainController.js b/modules/server/MainController.js index ae26f13..560eb59 100644 --- a/modules/server/MainController.js +++ b/modules/server/MainController.js @@ -39,6 +39,8 @@ export const sendHomePage = (req, res, next) => { if (error) { next(error) } else { + res.set('Cache-Control', 'public, max-age=60') + res.send( DOCTYPE + renderToStaticMarkup() )