By enabling GZIP compression of the website output is reduced. This allows smaller files are sent to the browser, making the website more quickly comes into focus. At the same time the server load increases slightly. Website output produced is first created smaller, before it is sent to the browser. Usually, the profit is achieved with GZIP compression combined with caching larger than the increase in CPU.
In this article we explain how GZIP compression can access the service panel and how you can handle GZIP compression in your .htaccess file.
Make sure your server has “zlib.output_compression” turned on. If not add zlib.output_compression = On to your php.ini file.
Gzip compression process in your .htaccess file
Not everything needs by GZIP to be further compressed. It is not necessary to further compress compressed files like .zip and .tgz. Please check this by adding the following to your .htaccess file.
To use you must also turn on the following line in your .htaccess Zip (now stands for a #):
php_flag zlib.output_compression on