summaryrefslogtreecommitdiffstats
path: root/api/context.go
diff options
context:
space:
mode:
authorChristopher Speller <crspeller@gmail.com>2016-12-13 22:24:24 -0500
committerenahum <nahumhbl@gmail.com>2016-12-14 00:24:24 -0300
commit86fb0d87a3a09b237bec124ce0e74cd05aa164be (patch)
treedab6753888596cc2ba8df8c273ced364bff6b26d /api/context.go
parent2e58f7504b79fc85d43468ffa06954a23221ea32 (diff)
downloadchat-86fb0d87a3a09b237bec124ce0e74cd05aa164be.tar.gz
chat-86fb0d87a3a09b237bec124ce0e74cd05aa164be.tar.bz2
chat-86fb0d87a3a09b237bec124ce0e74cd05aa164be.zip
Adding caching layer to some posts calls (#4779)
Diffstat (limited to 'api/context.go')
-rw-r--r--api/context.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/api/context.go b/api/context.go
index 1e82acb68..91f17dada 100644
--- a/api/context.go
+++ b/api/context.go
@@ -564,4 +564,5 @@ func InvalidateAllCaches() {
ClearStatusCache()
store.ClearChannelCaches()
store.ClearUserCaches()
+ store.ClearPostCaches()
}