mirror of
https://github.com/element-hq/element-web
synced 2024-11-24 18:25:49 +03:00
Suggest setting Cache-Control: no-cache on / for self-hosters
This commit is contained in:
parent
2dfa6fd58e
commit
2d48797294
1 changed files with 4 additions and 0 deletions
|
@ -238,6 +238,10 @@ Element requires the following URLs not to be cached, when/if you are serving El
|
|||
/index.html
|
||||
```
|
||||
|
||||
We also recommend that you force browsers to re-validate any cached copy of Element on page load by configuring your
|
||||
webserver to return `Cache-Control: no-cache` for `/`. This ensures the browser will fetch a new version of Element on
|
||||
the next page load after it's been deployed.
|
||||
|
||||
Development
|
||||
===========
|
||||
|
||||
|
|
Loading…
Reference in a new issue