Fixing cacheing issue on IE and Edge
Этот коммит содержится в:
@@ -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()))
|
||||
}
|
||||
|
||||
Ссылка в новой задаче
Block a user