Improve caching for alls apps.fp.o based assets
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
This commit is contained in:
parent
bb3d1c1fe7
commit
e45938f53c
1 changed files with 6 additions and 0 deletions
|
@ -1,5 +1,11 @@
|
|||
DocumentRoot /srv/web/apps-fp-o/
|
||||
|
||||
<LocationMatch "^/(js|bootstrap|bootstrap-3.1.1-fedora|css|fedmenu|global|img)/">
|
||||
Header set Cache-Control public
|
||||
ExpiresDefault "access plus 1 month"
|
||||
Header unset ETag
|
||||
</Location>
|
||||
|
||||
<Location /global/fedora-bootstrap-fonts/>
|
||||
<IfModule mod_headers.c>
|
||||
SetEnvIf Origin "http(s)?://(.*\.fedoraproject.org|pagure\.io)$" AccessControlAllowOrigin=$0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue