.htaccess updates, expires and compression headers

This commit is contained in:
Shish Moom 2009-07-07 08:33:25 -07:00
parent 4040fb5d58
commit 2eea8b22f2

View file

@ -27,3 +27,15 @@ RewriteRule ^(.*)$ index.php?q=$1&%{QUERY_STRING} [L]
</IfModule>
DefaultType image/jpeg
<IfModule mod_expires.c>
ExpiresActive On
ExpiresDefault "access plus 1 month"
ExpiresByType text/html "now"
ExpiresByType text/plain "now"
</IfModule>
<ifmodule mod_deflate.c>
AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css
AddOutputFilterByType DEFLATE application/x-javascript application/javascript
</ifmodule>