From 298c581b5e876d9c9b2bbe3da20d7e4b64307b1b Mon Sep 17 00:00:00 2001 From: Mike Rylander Date: Fri, 12 Jun 2020 10:36:48 -0400 Subject: [PATCH] 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 --- Open-ILS/examples/apache_24/eg_vhost.conf.in | 14 ++++++++++++++ 1 file changed, 14 insertions(+) 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 +# +# # -- 2.43.2