[open-ils-commits] [GIT] Evergreen ILS branch rel_3_4 updated. b97ad773a18f008f8697b1e25a4a540f195424a2

Evergreen Git git at git.evergreen-ils.org
Fri Jun 12 11:35:05 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, rel_3_4 has been updated
       via  b97ad773a18f008f8697b1e25a4a540f195424a2 (commit)
       via  e3fc6af20ee13f34c534789f2b19e2cd1553497c (commit)
       via  d893d1c7bfd98f38117e554aa2c59a4e01687f8b (commit)
      from  ae3c1fa9b18f470b8831a3a851db5798bf731bdb (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 b97ad773a18f008f8697b1e25a4a540f195424a2
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 e3fc6af20ee13f34c534789f2b19e2cd1553497c
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 d893d1c7bfd98f38117e554aa2c59a4e01687f8b
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