1
0
Fork 0
mirror of https://codeberg.org/ashley/poke.git synced 2024-11-17 01:14:38 -05:00

cache for a long time

This commit is contained in:
Ashley 2023-11-29 16:34:13 +00:00
parent aafffd6c0b
commit b61c841996

View file

@ -48,7 +48,7 @@ app.use(function (req, res, next) {
app.use(function (req, res, next) { app.use(function (req, res, next) {
res.header("Access-Control-Allow-Origin", "*"); 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"); res.setHeader("poketube-cacher", "PROXY_FILES");
next(); next();