Adding caching layer to some posts calls (#4779)

This commit is contained in:
Christopher Speller
2016-12-13 22:24:24 -05:00
committed by enahum
parent 2e58f7504b
commit 86fb0d87a3
9 changed files with 102 additions and 9 deletions

View File

@@ -14,6 +14,8 @@ type ClusterInterface interface {
GetClusterStats() ([]*model.ClusterStats, *model.AppError)
RemoveAllSessionsForUserId(userId string)
InvalidateCacheForUser(userId string)
InvalidateCacheForChannel(channelId string)
InvalidateCacheForChannelPosts(channelId string)
Publish(event *model.WebSocketEvent)
UpdateStatus(status *model.Status)
GetLogs() ([]string, *model.AppError)