mirror of
https://github.com/aljazceru/njump.git
synced 2025-12-17 06:14:22 +01:00
Lower Cache-Control values
This commit is contained in:
@@ -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")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user