From bbe16b7555f1d7300f829171f73c8308ae506fd3 Mon Sep 17 00:00:00 2001 From: sentriz Date: Tue, 3 Sep 2024 12:43:10 +0100 Subject: [PATCH] feat(subsonic): bump image cache expiration --- server/ctrlsubsonic/handlers_raw.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/ctrlsubsonic/handlers_raw.go b/server/ctrlsubsonic/handlers_raw.go index d050ebe..19e72e0 100644 --- a/server/ctrlsubsonic/handlers_raw.go +++ b/server/ctrlsubsonic/handlers_raw.go @@ -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