Increase cache-control max-age to 60s

Cache headers have been active in production for a while now, and I didnt see any issues reported. So it should be save to increase the max-age to reduce server load further.
This commit is contained in:
Nutomic 2023-09-11 12:05:23 +02:00 committed by GitHub
parent d98009c7d5
commit 4f309b8bbf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -55,7 +55,7 @@ export function setCacheControl(
if (hasJwtCookie(req)) { if (hasJwtCookie(req)) {
caching = "private"; caching = "private";
} else { } else {
caching = "public, max-age=5"; caching = "public, max-age=60";
} }
} }