Change cache control to no-store

This commit is contained in:
Your Name 2018-09-02 21:51:22 +00:00
parent c4fe2bf08b
commit 012e8f270f
1 changed files with 1 additions and 1 deletions

View File

@ -53,7 +53,7 @@ func dirList(w http.ResponseWriter, r *http.Request, f http.File) {
tableheader := "" tableheader := ""
// Disable cache for directory indexes // Disable cache for directory indexes
w.Header().Set("Cache-Control", "no-cache") w.Header().Set("Cache-Control", "no-store")
dirs, err := f.Readdir(-1) dirs, err := f.Readdir(-1)
if err != nil { if err != nil {