Fixing cacheing issue on IE and Edge

Этот коммит содержится в:
Christopher Speller
2015-12-11 14:19:49 -05:00
родитель 29894a5836
Коммит a9fa21473a

Просмотреть файл

@@ -986,5 +986,7 @@ func searchPosts(c *Context, w http.ResponseWriter, r *http.Request) {
}
}
w.Header().Set("Cache-Control", "no-cache, no-store, must-revalidate")
w.Header().Set("Expires", "0")
w.Write([]byte(posts.ToJson()))
}