mirror of
https://codeberg.org/ashley/poke
synced 2025-04-04 16:48:00 +00:00
cache for a long time
This commit is contained in:
parent
aafffd6c0b
commit
b61c841996
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user