diff --git a/server/platform/shared/web/files.go b/server/platform/shared/web/files.go index 46a2e2c587..ea5ccaedda 100644 --- a/server/platform/shared/web/files.go +++ b/server/platform/shared/web/files.go @@ -35,7 +35,7 @@ var MediaContentTypes = [...]string{ } func WriteFileResponse(filename string, contentType string, contentSize int64, lastModification time.Time, webserverMode string, fileReader io.ReadSeeker, forceDownload bool, w http.ResponseWriter, r *http.Request) { - w.Header().Set("Cache-Control", "private, no-cache") + w.Header().Set("Cache-Control", "private, max-age=86400") w.Header().Set("X-Content-Type-Options", "nosniff") if contentSize > 0 {