diff --git a/src/fs/service.go b/src/fs/service.go index ccc3039..e77f0e0 100644 --- a/src/fs/service.go +++ b/src/fs/service.go @@ -334,7 +334,8 @@ func (service *MercuryFsService) serveFile(writer http.ResponseWriter, request * } else { writer.Header().Set("Last-Modified", mtime) writer.Header().Set("ETag", etag) - writer.Header().Set("Cache-Control", "max-age=0, private, must-revalidate") + //writer.Header().Set("Cache-Control", "max-age=0, private, must-revalidate") + writer.Header().Set("Cache-Control", "max-age=60") debug(4, "Etag sent: %s", etag) http.ServeContent(writer, request, fullPath, fi.ModTime(), osFile) log("\"GET %s\" %d %d \"%s\"", query, 200, fi.Size(), ua)