...
 
Commits (2)
......@@ -4,6 +4,8 @@ RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
ErrorDocument 404 /404.html
RedirectMatch 302 /aleph-dam https://alephdam.200ok.ch
<IfModule mod_expires.c>
ExpiresActive On
......@@ -25,11 +27,17 @@ ExpiresByType application/javascript "access plus 1 month"
# CSS
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>
<FilesMatch "\.(index.html)$">
ExpiresActive Off
</FilesMatch>
<FilesMatch "\.(blog.html)$">
ExpiresActive Off
</FilesMatch>
</IfModule>
<IfModule mod_deflate.c>
......