mirror of
https://github.com/LemmyNet/lemmy-ui.git
synced 2024-11-29 07:41:13 +00:00
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:
parent
d98009c7d5
commit
4f309b8bbf
1 changed files with 1 additions and 1 deletions
|
@ -55,7 +55,7 @@ export function setCacheControl(
|
|||
if (hasJwtCookie(req)) {
|
||||
caching = "private";
|
||||
} else {
|
||||
caching = "public, max-age=5";
|
||||
caching = "public, max-age=60";
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue