From 2d487972940e7fba1b791ff5b83b0aefd13a3e24 Mon Sep 17 00:00:00 2001 From: James Salter Date: Fri, 10 Sep 2021 11:18:06 +0100 Subject: [PATCH] Suggest setting Cache-Control: no-cache on / for self-hosters --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 4fd89c018a..1f1d31f7b9 100644 --- a/README.md +++ b/README.md @@ -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 ===========