diff --git a/src/app.mjs b/src/app.mjs index 7977d939..3047f61f 100644 --- a/src/app.mjs +++ b/src/app.mjs @@ -35,7 +35,8 @@ } //Cache headers middleware middlewares.push((req, res, next) => { - res.header("Cache-Control", cached ? `public, max-age=${cached}` : "no-store, no-cache") + if (!["/placeholder"].includes(req.path)) + res.header("Cache-Control", cached ? `public, max-age=${cached}` : "no-store, no-cache") next() })