From da0e2e301d38a33280d90c44c1cddba4b543b46f Mon Sep 17 00:00:00 2001 From: Mike Rylander Date: Fri, 12 Jun 2020 10:55:29 -0400 Subject: [PATCH] LP#1883267: Adding release notes Signed-off-by: Mike Rylander Signed-off-by: Bill Erickson --- .../do-not-cache-angular-root.adoc | 36 +++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 docs/RELEASE_NOTES_NEXT/Architecture/do-not-cache-angular-root.adoc diff --git a/docs/RELEASE_NOTES_NEXT/Architecture/do-not-cache-angular-root.adoc b/docs/RELEASE_NOTES_NEXT/Architecture/do-not-cache-angular-root.adoc new file mode 100644 index 0000000000..c01ea74947 --- /dev/null +++ b/docs/RELEASE_NOTES_NEXT/Architecture/do-not-cache-angular-root.adoc @@ -0,0 +1,36 @@ +Do not cache the Angular application root +^^^^^^^^^^^^^ + +Evergreen administrators should update existing apache configuration files +so that the Angular index.html file is never cached by the client. This +can be done by changing the Angular setup section of the apache configuration +that starts with: + +[source] +---- + +---- + +or similar in the apache configuration. Add the following after the +FallbackResource directive: + +[source] +---- + + + Header set Cache-Control "no-cache, no-store, must-revalidate" + Header set Pragma "no-cache" + Header set Expires 0 + + +---- + +Finally, ensure that the mod_headers apache module is enabled by running the +following commands on all apache servers as the root user: + +[source] +---- +a2enmod headers +sudo /etc/init.d/apache2 restart +---- + -- 2.43.2