Increase cover art max-age to maximum

This commit is contained in:
Deluan 2020-06-04 14:45:00 -04:00
parent 8fd86def18
commit 51fb1d1349

View File

@ -40,7 +40,7 @@ func (c *MediaRetrievalController) GetCoverArt(w http.ResponseWriter, r *http.Re
}
size := utils.ParamInt(r, "size", 0)
w.Header().Set("cache-control", "public, max-age=300")
w.Header().Set("cache-control", "public, max-age=315360000")
err = c.cover.Get(r.Context(), id, size, w)
switch {