[open-ils-commits] [GIT] Evergreen ILS branch master updated. 2bf71afb557bb0b8c19daf855d7370d94e314ab8

Evergreen Git git at git.evergreen-ils.org
Fri Jun 12 11:35:25 EDT 2020


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Evergreen ILS".

The branch, master has been updated
       via  2bf71afb557bb0b8c19daf855d7370d94e314ab8 (commit)
       via  da0e2e301d38a33280d90c44c1cddba4b543b46f (commit)
       via  298c581b5e876d9c9b2bbe3da20d7e4b64307b1b (commit)
      from  f437ebae6ec7dd9c54ad8a7e512e6d114be8ff5e (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 2bf71afb557bb0b8c19daf855d7370d94e314ab8
Author: Bill Erickson <berickxx at gmail.com>
Date:   Fri Jun 12 11:20:29 2020 -0400

    LP1883267 Minor release note tweaks
    
    Signed-off-by: Bill Erickson <berickxx at gmail.com>

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
index c01ea74947..4cb96e3b42 100644
--- a/docs/RELEASE_NOTES_NEXT/Architecture/do-not-cache-angular-root.adoc
+++ b/docs/RELEASE_NOTES_NEXT/Architecture/do-not-cache-angular-root.adoc
@@ -1,12 +1,12 @@
 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]
+[source, conf]
 ----
 <Directory "/openils/var/web/eg2/en-US">
 ----
@@ -14,7 +14,7 @@ that starts with:
 or similar in the apache configuration. Add the following after the
 FallbackResource directive:
 
-[source]
+[source, conf]
 ----
     <Files "index.html">
       <IfModule mod_headers.c>
@@ -28,9 +28,9 @@ FallbackResource directive:
 Finally, ensure that the mod_headers apache module is enabled by running the
 following commands on all apache servers as the root user:
 
-[source]
+[source, sh]
 ----
 a2enmod headers
-sudo /etc/init.d/apache2 restart
+/etc/init.d/apache2 restart
 ----
 

commit da0e2e301d38a33280d90c44c1cddba4b543b46f
Author: Mike Rylander <mrylander at gmail.com>
Date:   Fri Jun 12 10:55:29 2020 -0400

    LP#1883267: Adding release notes
    
    Signed-off-by: Mike Rylander <mrylander at gmail.com>
    Signed-off-by: Bill Erickson <berickxx at gmail.com>

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]
+----
+<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
+----
+

commit 298c581b5e876d9c9b2bbe3da20d7e4b64307b1b
Author: Mike Rylander <mrylander at gmail.com>
Date:   Fri Jun 12 10:36:48 2020 -0400

    LP#1883267: Never cache Angular index.html
    
    If we cache index.html then clients will be delayed seeing updates in
    normal circumstances.
    
    Signed-off-by: Mike Rylander <mrylander at gmail.com>
    Signed-off-by: Bill Erickson <berickxx at gmail.com>

diff --git a/Open-ILS/examples/apache_24/eg_vhost.conf.in b/Open-ILS/examples/apache_24/eg_vhost.conf.in
index c59d3c2f32..4953fc9762 100644
--- a/Open-ILS/examples/apache_24/eg_vhost.conf.in
+++ b/Open-ILS/examples/apache_24/eg_vhost.conf.in
@@ -885,9 +885,23 @@ RewriteRule ^/eg2/(.*) https://%{HTTP_HOST}/eg2/en-US/$1 [R=307,L]
 # This is the only required configuration when only using the default locale.
 <Directory "@localstatedir@/web/eg2/en-US">
     FallbackResource /eg2/en-US/index.html
+    <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>
 </Directory>
 
 # fr-CA build
 #<Directory "@localstatedir@/web/eg2/fr-CA">
 #    FallbackResource /eg2/fr-CA/index.html
+#    <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>
 #</Directory>

-----------------------------------------------------------------------

Summary of changes:
 Open-ILS/examples/apache_24/eg_vhost.conf.in       | 14 +++++++++
 .../Architecture/do-not-cache-angular-root.adoc    | 36 ++++++++++++++++++++++
 2 files changed, 50 insertions(+)
 create mode 100644 docs/RELEASE_NOTES_NEXT/Architecture/do-not-cache-angular-root.adoc


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list