Increase cover art max-age to maximum
This commit is contained in:
@@ -40,7 +40,7 @@ func (c *MediaRetrievalController) GetCoverArt(w http.ResponseWriter, r *http.Re
|
|||||||
}
|
}
|
||||||
size := utils.ParamInt(r, "size", 0)
|
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)
|
err = c.cover.Get(r.Context(), id, size, w)
|
||||||
|
|
||||||
switch {
|
switch {
|
||||||
|
|||||||
Reference in New Issue
Block a user