diff options
author | Christopher Speller <crspeller@gmail.com> | 2016-02-11 12:26:16 -0500 |
---|---|---|
committer | Christopher Speller <crspeller@gmail.com> | 2016-02-11 12:26:16 -0500 |
commit | abd5a3e0d73aac5d35a0a57b06899ca03474e548 (patch) | |
tree | 0fbbab6b4428f958798ccbe295609677e7d27247 /api | |
parent | 4ffbd3642ed8ad7961218845c7c89108c26a2737 (diff) | |
parent | 590022064abab2b93d47de73e917e75e51f88584 (diff) | |
download | chat-abd5a3e0d73aac5d35a0a57b06899ca03474e548.tar.gz chat-abd5a3e0d73aac5d35a0a57b06899ca03474e548.tar.bz2 chat-abd5a3e0d73aac5d35a0a57b06899ca03474e548.zip |
Merge pull request #2149 from mattermost/plt-1949
PLT-1949 Fixing cacheing issue on IE for admin console
Diffstat (limited to 'api')
-rw-r--r-- | api/admin.go | 2 |
1 files changed, 2 insertions, 0 deletions
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)) } |