From: Mike Rylander Date: Fri, 12 Jun 2020 14:36:48 +0000 (-0400) Subject: LP#1883267: Never cache Angular index.html X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=298c581b5e876d9c9b2bbe3da20d7e4b64307b1b;p=Evergreen.git 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 Signed-off-by: Bill Erickson --- 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. FallbackResource /eg2/en-US/index.html + + + Header set Cache-Control "no-cache, no-store, must-revalidate" + Header set Pragma "no-cache" + Header set Expires 0 + + # fr-CA build # # FallbackResource /eg2/fr-CA/index.html +# +# +# Header set Cache-Control "no-cache, no-store, must-revalidate" +# Header set Pragma "no-cache" +# Header set Expires 0 +# +# #