🎧 Your Personal Streaming Service
Go airsonicmadsonicmedia-servermusicmusic-servernavidromeopensubsonicraspberry-piself-hostedstreamerstreaming-apistreaming-audiosubsonicsubsonic-server
fix(ui): Set Cache-Control: no-cache on index.html - #5766 (#5767)
Andrew Katsikasa5efba9a08e3
diff --git a/server/serve_index.go b/server/serve_index.goindex 13fa4a9ce..a538daf1a 100644--- a/server/serve_index.go+++ b/server/serve_index.go@@ -107,6 +107,7 @@ func serveIndex(ds model.DataStore, fs fs.FS, shareInfo *model.Share) http.HandladdShareData(r, data, shareInfo)w.Header().Set("Content-Type", "text/html")+ w.Header().Set("Cache-Control", "no-store, no-cache, must-revalidate")err = t.Execute(w, data)if err != nil {log.Error(r, "Could not execute `index.html` template", err)