1
0

mod_expires

This commit is contained in:
Mike Schwörer 2018-02-03 19:08:28 +01:00
parent 2157b3e2e8
commit fd17480939
Signed by: Mikescher
GPG Key ID: D3C7172E0A70F8CF
2 changed files with 12 additions and 0 deletions

View File

@ -0,0 +1,4 @@
<IfModule mod_expires.c>
ExpiresActive On
ExpiresDefault "access plus 12 hours"
</IfModule>

View File

@ -0,0 +1,8 @@
<IfModule mod_expires.c>
ExpiresActive On
ExpiresByType image/jpg "access plus 1 week"
ExpiresByType image/jpeg "access plus 1 week"
ExpiresByType image/gif "access plus 1 week"
ExpiresByType image/png "access plus 1 week"
ExpiresByType image/svg+xml "access plus 1 day"
</IfModule>