Enabled DEFLATE compression in htaccess

This commit is contained in:
Marcin Kurczewski 2014-10-25 13:13:31 +02:00
parent c64fe89918
commit 355e088fad

View file

@ -35,3 +35,8 @@ AddType text/plain .tpl
ExpiresByType application/javascript "access plus 1 year"
ExpiresByType application/x-javascript "access plus 1 year"
</IfModule>
<ifModule mod_deflate.c>
AddOutputFilterByType DEFLATE text/html text/xml text/css text/plain
AddOutputFilterByType DEFLATE text/javascript application/javascript application/x-javascript application/json
</ifModule>