From bcbc30d6a43b4371fb0158648855aadf36cbb96f Mon Sep 17 00:00:00 2001 From: Martin Donnelly Date: Sun, 1 Oct 2017 12:04:16 +0100 Subject: [PATCH] set cache time to 15 minutes --- server.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server.js b/server.js index 4f3110a..432c460 100644 --- a/server.js +++ b/server.js @@ -22,7 +22,7 @@ app.use(bodyParser.urlencoded({ 'extended': true })); apicache.options({ 'debug': true }); const cache = apicache.middleware; -app.use(cache('5 minutes')); +app.use(cache('15 minutes')); function getUrl (req, res) { const theUrl = req.params.encoded_id;