[open-ils-commits] [GIT] Evergreen ILS branch rel_3_5 updated. fd0aea06ed9d0bab43d259697a5a3c64cdb14f69

Evergreen Git git at git.evergreen-ils.org
Fri Jun 12 11:35:13 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_5 has been updated
       via  fd0aea06ed9d0bab43d259697a5a3c64cdb14f69 (commit)
       via  881c6b555bbe43ce174353aa50a16f795dd98ea3 (commit)
       via  1888025aeeed8f01435a0ed163890a5d53b3cb3b (commit)
      from  c3f2afbc49a326d62e598f3dc9177198d3a5f43a (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 fd0aea06ed9d0bab43d259697a5a3c64cdb14f69
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 881c6b555bbe43ce174353aa50a16f795dd98ea3
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 1888025aeeed8f01435a0ed163890a5d53b3cb3b
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