From b61c841996a7fbc3f524af0394ac74668c793b58 Mon Sep 17 00:00:00 2001 From: Ashley Date: Wed, 29 Nov 2023 16:34:13 +0000 Subject: [PATCH] cache for a long time --- p/server.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/p/server.js b/p/server.js index 4595afd3..6ac7135f 100644 --- a/p/server.js +++ b/p/server.js @@ -48,7 +48,7 @@ app.use(function (req, res, next) { app.use(function (req, res, next) { res.header("Access-Control-Allow-Origin", "*"); - res.setHeader("Cache-Control", "public, max-age=1848"); // cache header + res.setHeader("Cache-Control", "public, max-age=232337763"); // cache header res.setHeader("poketube-cacher", "PROXY_FILES"); next();