mattermost/web
Jesse Hallam 345b0c560a
MM-20948: nocache for static plugin assets (#13322)
Serve static plugin assets with a `Cache-Control: no-cache, public` header. This avoids caching a 404 response for such an asset, preventing it from being loaded until expiry even if the file later becomes available.

This is currently preventing updates of plugins on community and would generally affect any customer with a cache in front of the Mattermost servers.

Fixes: https://mattermost.atlassian.net/browse/MM-20948
2019-12-05 23:57:30 -04:00
..
context.go Consistent license message for all the go files (#13235) 2019-11-29 12:59:40 +01:00
context_test.go Consistent license message for all the go files (#13235) 2019-11-29 12:59:40 +01:00
handlers.go Consistent license message for all the go files (#13235) 2019-11-29 12:59:40 +01:00
handlers_test.go Consistent license message for all the go files (#13235) 2019-11-29 12:59:40 +01:00
main_test.go Consistent license message for all the go files (#13235) 2019-11-29 12:59:40 +01:00
oauth.go Consistent license message for all the go files (#13235) 2019-11-29 12:59:40 +01:00
oauth_test.go Consistent license message for all the go files (#13235) 2019-11-29 12:59:40 +01:00
params.go Consistent license message for all the go files (#13235) 2019-11-29 12:59:40 +01:00
saml.go Consistent license message for all the go files (#13235) 2019-11-29 12:59:40 +01:00
static.go MM-20948: nocache for static plugin assets (#13322) 2019-12-05 23:57:30 -04:00
unsupported_browser.go Consistent license message for all the go files (#13235) 2019-11-29 12:59:40 +01:00
web.go Consistent license message for all the go files (#13235) 2019-11-29 12:59:40 +01:00
web_test.go MM-20948: nocache for static plugin assets (#13322) 2019-12-05 23:57:30 -04:00
webhook.go Consistent license message for all the go files (#13235) 2019-11-29 12:59:40 +01:00
webhook_test.go Consistent license message for all the go files (#13235) 2019-11-29 12:59:40 +01:00