How can we help?
How to enable GZIP Compression
What Is GZIP Compression?
GZIP is a compression technology frequently used for moving data quickly over the internet. “GZIP” is a compression method using software to compress files.
Speed is everything for websites, so turn on compression to help speed up the delivery of your website.
Enable Gzip compression with .htaccess
The following .htaccess example enables Gzip compression on .js .css .html .htm and .php file extensions:
<IfModule mod_deflate.c> <filesMatch "\.(js|css|html|htm|php)$"> SetOutputFilter DEFLATE </filesMatch> </IfModule>
Alternate PHP Versions
If you use an alternate PHP version please use the .htaccess code above and also the following PHP-ini directive in a file called ‘.user.ini’:
zlib.output_compression = On