Gzip compression is performed using the nginx server and is enabled by default for all sites located on shared hosting. Files are compressed in size not less than 2 KB... Smaller files are not compressed as this is inefficient.
Configure compression through Apache server using mod_deflate
and directives in .htaccess
Not recommendedas this can lead to an increase in the load on the web server and will not give an increase in the site loading speed. If, nevertheless, there is a need for such a setting, then when adding compression directives to .htaccess
remove the extensions of the compressed files from list of static files.