From 012e8f270f2a9023cc049c91433ddb462251d9b0 Mon Sep 17 00:00:00 2001 From: Your Name Date: Sun, 2 Sep 2018 21:51:22 +0000 Subject: [PATCH] Change cache control to no-store --- enhanced-file-server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/enhanced-file-server.go b/enhanced-file-server.go index bfff32e..39c98ae 100644 --- a/enhanced-file-server.go +++ b/enhanced-file-server.go @@ -53,7 +53,7 @@ func dirList(w http.ResponseWriter, r *http.Request, f http.File) { tableheader := "" // Disable cache for directory indexes - w.Header().Set("Cache-Control", "no-cache") + w.Header().Set("Cache-Control", "no-store") dirs, err := f.Readdir(-1) if err != nil {