Lower Cache-Control values

This commit is contained in:
Daniele Tonon
2023-08-04 15:56:10 +02:00
parent 2fcf17aa1d
commit 6a1ac7a302
3 changed files with 5 additions and 3 deletions

View File

@@ -73,7 +73,7 @@ func renderRelayPage(w http.ResponseWriter, r *http.Request) {
}
if len(renderableLastNotes) != 0 {
w.Header().Set("Cache-Control", "max-age=604800")
w.Header().Set("Cache-Control", "max-age=3600")
} else {
w.Header().Set("Cache-Control", "max-age=60")
}