if mod expires

This commit is contained in:
Claude 2012-06-06 15:15:49 +02:00
parent c21d6c3f5a
commit 43581c47ef

View File

@ -10,16 +10,18 @@ FileETag MTime Size
ErrorDocument 404 /index.php ErrorDocument 404 /index.php
</IfModule> </IfModule>
ExpiresActive On <IfModule mod_expires.c>
ExpiresByType text/javascript "access plus 1 year" ExpiresActive On
ExpiresByType application/x-javascript "access plus 1 year" ExpiresByType text/javascript "access plus 1 year"
ExpiresByType application/javascript "access plus 1 year" ExpiresByType application/x-javascript "access plus 1 year"
ExpiresByType text/css "access plus 1 year" ExpiresByType application/javascript "access plus 1 year"
ExpiresByType image/jpeg "access plus 1 year" ExpiresByType text/css "access plus 1 year"
ExpiresByType image/jpg "access plus 1 year" ExpiresByType image/jpeg "access plus 1 year"
ExpiresByType image/gif "access plus 1 year" ExpiresByType image/jpg "access plus 1 year"
ExpiresByType image/png "access plus 1 year" ExpiresByType image/gif "access plus 1 year"
ExpiresByType image/x-icon "access plus 1 year" ExpiresByType image/png "access plus 1 year"
ExpiresByType image/x-icon "access plus 1 year"
</IfModule>
#AuthType Basic #AuthType Basic
#AuthName "Backend" #AuthName "Backend"