diff options
Diffstat (limited to 'api/post.go')
-rw-r--r-- | api/post.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/api/post.go b/api/post.go index a102cdf4d..b9bd2c052 100644 --- a/api/post.go +++ b/api/post.go @@ -1062,5 +1062,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())) } |