LP#1883267: Adding release notes
authorMike Rylander <mrylander@gmail.com>
Fri, 12 Jun 2020 14:55:29 +0000 (10:55 -0400)
committerBill Erickson <berickxx@gmail.com>
Fri, 12 Jun 2020 15:03:10 +0000 (11:03 -0400)
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Bill Erickson <berickxx@gmail.com>

docs/RELEASE_NOTES_NEXT/Architecture/do-not-cache-angular-root.adoc [new file with mode: 0644]

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 (file)
index 0000000..c01ea74
--- /dev/null
@@ -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]
+----
+<Directory "/openils/var/web/eg2/en-US">
+----
+
+or similar in the apache configuration. Add the following after the
+FallbackResource directive:
+
+[source]
+----
+    <Files "index.html">
+      <IfModule mod_headers.c>
+        Header set Cache-Control "no-cache, no-store, must-revalidate"
+        Header set Pragma "no-cache"
+        Header set Expires 0
+      </IfModule>
+    </Files>
+----
+
+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
+----
+