Это код my.htaccess для сжатия gzip. Я вставил этот код в свой htaccess, но в gtmetrix он показывает 0% -ное сжатие gzip. ПОЧЕМУ?
<IfModule mod_deflate.c>
AddType x-font/woff .woff
AddType x-font/ttf .ttf
AddOutputFilterByType DEFLATE image/svg+xml
AddOutputFilterByType DEFLATE text/plain
AddOutputFilterByType DEFLATE text/html
AddOutputFilterByType DEFLATE text/xml
AddOutputFilterByType DEFLATE text/css
AddOutputFilterByType DEFLATE text/javascript
AddOutputFilterByType DEFLATE application/xml
AddOutputFilterByType DEFLATE application/xhtml+xml
AddOutputFilterByType DEFLATE application/rss+xml
AddOutputFilterByType DEFLATE application/javascript
AddOutputFilterByType DEFLATE application/x-javascript
AddOutputFilterByType DEFLATE application/x-font-ttf
AddOutputFilterByType DEFLATE application/vnd.ms-fontobject
AddOutputFilterByType DEFLATE font/opentype font/ttf font/eot font/otf
</IfModule>
также у меня есть этот код после него для дальнейшего ...
<IfModule php7_module>
php_flag display_errors On
php_value max_execution_time 18000
php_value max_input_time 18000
php_value max_input_vars 18000
php_value memory_limit -1
php_value post_max_size 20000M
php_value session.gc_maxlifetime 1440
php_value session.save_path "/var/cpanel/php/sessions/ea-php71"
php_value upload_max_filesize 200000M
php_flag zlib.output_compression Off
</IfModule>
<IfModule lsapi_module>
php_flag display_errors On
php_value max_execution_time 18000
php_value max_input_time 18000
php_value max_input_vars 18000
php_value memory_limit -1
php_value post_max_size 20000M
php_value session.gc_maxlifetime 1440
php_value session.save_path "/var/cpanel/php/sessions/ea-php71"
php_value upload_max_filesize 200000M
php_flag zlib.output_compression Off
</IfModule>