Commit f67085b9 authored by Phil Hofmann's avatar Phil Hofmann

Merge branch 'alephdam-and-caching' into 'master'

Redirect /aleph-dam to

See merge request !135
parents d0357c5c 82d99d01
Pipeline #5783 passed with stage
in 2 minutes and 56 seconds
......@@ -4,6 +4,8 @@ RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
ErrorDocument 404 /404.html
RedirectMatch 302 /aleph-dam
<IfModule mod_expires.c>
ExpiresActive On
......@@ -25,11 +27,17 @@ ExpiresByType application/javascript "access plus 1 month"
ExpiresByType text/css "access plus 1 month"
# Do not cache app.css
# Do not cache app.css, index.html and blog.html
# TODO: A better solution would be to cache it and use query strings to update to new versions
<FilesMatch "\.(app.css)$">
ExpiresActive Off
<FilesMatch "\.(index.html)$">
ExpiresActive Off
<FilesMatch "\.(blog.html)$">
ExpiresActive Off
<IfModule mod_deflate.c>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment