From 8bfce04a0480cb3c8241ff061977cc229d1f890a Mon Sep 17 00:00:00 2001 From: tmont Date: Mon, 1 Mar 2021 21:17:41 -0800 Subject: [PATCH] cache views --- web/server.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/server.js b/web/server.js index 71acfc7..b3f84d1 100644 --- a/web/server.js +++ b/web/server.js @@ -10,7 +10,7 @@ const app = express(); app.set('view engine', 'pug'); app.set('views', path.join(__dirname, 'views')); -app.set('cache views', false); +app.set('cache views', true); app.use(express.static(path.join(__dirname)));