Skip to content

Commit 1e1d760

Browse files
fix: try different cache
1 parent f0f394d commit 1e1d760

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

server/main.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ async function main() {
77
const app = express();
88
app.use(compression());
99
app.use(await sitemap());
10-
app.use(function (req, res, next) {
11-
res.setHeader('Cache-Control', 'max-age 3600, must-revalidate');
10+
app.use(function (_req, res, next) {
11+
res.setHeader('Cache-Control', 'max-age=3600, no-cache');
1212
next();
1313
});
1414
app.use(handler);

0 commit comments

Comments
 (0)