Added HTTP Cache header for all static files
Signed-off-by: Jim Martens <github@2martens.de>
This commit is contained in:
parent
d5686b6f8d
commit
26207408c0
|
@ -3,4 +3,8 @@ RewriteEngine On
|
|||
RewriteCond %{HTTP_HOST} ^jim\.2martens\.de [NC]
|
||||
RewriteRule ^(.*)$ https://2martens.de/$1 [L,R=301]
|
||||
|
||||
ErrorDocument 404 /404.html
|
||||
ErrorDocument 404 /404.html
|
||||
|
||||
<filesMatch ".(css|jpg|jpeg|png|gif|js|ico|pdf)$">
|
||||
Header set Cache-Control "max-age=86400, public"
|
||||
</filesMatch>
|
Loading…
Reference in New Issue