Enabled DEFLATE compression in htaccess
This commit is contained in:
parent
c64fe89918
commit
355e088fad
1 changed files with 5 additions and 0 deletions
|
@ -35,3 +35,8 @@ AddType text/plain .tpl
|
||||||
ExpiresByType application/javascript "access plus 1 year"
|
ExpiresByType application/javascript "access plus 1 year"
|
||||||
ExpiresByType application/x-javascript "access plus 1 year"
|
ExpiresByType application/x-javascript "access plus 1 year"
|
||||||
</IfModule>
|
</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>
|
||||||
|
|
Loading…
Reference in a new issue