Skip to content
This repository has been archived by the owner on Mar 7, 2018. It is now read-only.

Reset cache automatically upon version change #89

Open
lloeki opened this issue Mar 7, 2016 · 1 comment
Open

Reset cache automatically upon version change #89

lloeki opened this issue Mar 7, 2016 · 1 comment

Comments

@lloeki
Copy link
Owner

lloeki commented Mar 7, 2016

Pointer from Ian:

FYI, Mattermost version is apparently in the header of each request: https://github.com/mattermost/platform/blob/4f1dbb8ca9a6cce09c9a20e91e074feaadd755a8/model/client.go#L20
Here is where it is set: https://github.com/mattermost/platform/blob/master/api/context.go#L168

@LongLiveCHIEF
Copy link
Contributor

Some of the things that need to be scraped change from version to version. The version in the header can be used to trigger a cache reset, but there still isn't a way to ensure correct functionality of the matterfront components, since end users could have any, version of mattermost connected, and even multiple different versions of mattermost connected.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants