cache js in browser

pull/109/head
QLeelulu 6 years ago
parent 8e9b0f9e6b
commit be64b5ee2b

@ -148,8 +148,8 @@ func (s *embeddedFileServer) ServeHTTP(w http.ResponseWriter, r *http.Request) {
}
fp += s.IndexFile
w.Header().Set("Cache-Control", "no-cache, no-store, must-revalidate")
w.Header().Set("Expires", "0")
// w.Header().Set("Cache-Control", "no-cache, no-store, must-revalidate")
// w.Header().Set("Expires", "0")
b, err = Asset(fp)
if err == nil {

Loading…
Cancel
Save