Skip to content

Commit

Permalink
feat(subsonic): bump image cache expiration
Browse files Browse the repository at this point in the history
  • Loading branch information
sentriz committed Sep 3, 2024
1 parent a1d929e commit bbe16b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/ctrlsubsonic/handlers_raw.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ func (c *Controller) ServeGetCoverArt(w http.ResponseWriter, r *http.Request) *s
return nil
}

w.Header().Set("Cache-Control", "public, max-age=3600")
w.Header().Set("Cache-Control", "public, max-age=1209600")
http.ServeFile(w, r, cachePath)

return nil
Expand Down

0 comments on commit bbe16b7

Please sign in to comment.