Merge "Disabled browser cache(excluding static files)"

This commit is contained in:
Zuul 2022-09-05 07:40:50 +00:00 committed by Gerrit Code Review
commit f888f4dbb2
2 changed files with 6 additions and 0 deletions

View File

@ -12,3 +12,6 @@ Alias /horizon/static /var/lib/openstack-dashboard/static/
<Directory /var/lib/openstack-dashboard/static>
Require all granted
</Directory>
Header always set "Cache-Control" "no-store" "expr=%{REQUEST_URI} !~ m#^(/horizon)?/static/.*$#"
Header always set "Pragma" "no-cache" "expr=%{REQUEST_URI} !~ m#^(/horizon)?/static/.*$#"

View File

@ -14,3 +14,6 @@ Alias /horizon/static /var/lib/openstack-dashboard/static/
<Directory /var/lib/openstack-dashboard/static>
Require all granted
</Directory>
Header always set "Cache-Control" "no-store" "expr=%{REQUEST_URI} !~ m#^(/horizon)?/static/.*$#"
Header always set "Pragma" "no-cache" "expr=%{REQUEST_URI} !~ m#^(/horizon)?/static/.*$#"