mirror of
https://github.com/aljazceru/njump.git
synced 2025-12-18 14:54:24 +01:00
Lower Cache-Control values
This commit is contained in:
@@ -65,7 +65,7 @@ func renderArchive(w http.ResponseWriter, r *http.Request) {
|
||||
}
|
||||
|
||||
if len(data) != 0 {
|
||||
w.Header().Set("Cache-Control", "max-age=86400")
|
||||
w.Header().Set("Cache-Control", "max-age=3600")
|
||||
} else {
|
||||
w.Header().Set("Cache-Control", "max-age=60")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user