From 590022064abab2b93d47de73e917e75e51f88584 Mon Sep 17 00:00:00 2001 From: Christopher Speller Date: Thu, 11 Feb 2016 09:31:39 -0500 Subject: Fixing cacheing issue on IE for admin console --- api/admin.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/api/admin.go b/api/admin.go index e8cb8b3c7..5a645dc97 100644 --- a/api/admin.go +++ b/api/admin.go @@ -120,6 +120,8 @@ func getConfig(c *Context, w http.ResponseWriter, r *http.Request) { cfg := model.ConfigFromJson(strings.NewReader(json)) json = cfg.ToJson() + w.Header().Set("Cache-Control", "no-cache, no-store, must-revalidate") + w.Header().Set("Expires", "0") w.Write([]byte(json)) } -- cgit v1.2.3-1-g7c22