Increase cache-control max-age to 60s (#2124)

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.

Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
This commit is contained in:
Nutomic 2023-09-12 21:27:56 +02:00 committed by GitHub
parent a5366ddf7a
commit ab545e0e19
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)) {
caching = "private";
} else {
caching = "public, max-age=5";
caching = "public, max-age=60";
}
}