We do support Round the Clock 24 x 7 x 365 (+91) 883 012 3924
 

Enable mod_deflate GZIP Compression on cPanel

Enable mod_deflate GZIP Compression on cPanel

Gzip compresses your webpages and style sheets before sending them over to the browser. This drastically reduces transfer time since the files are much smaller.

First need to install “mod_deflate” apache module through EasyApache 4

Add below lines to configure “mod_deflate” in your apache configuration file.


# compress text, html, javascript, css, xml:
AddOutputFilterByType DEFLATE text/plain
AddOutputFilterByType DEFLATE text/html
AddOutputFilterByType DEFLATE text/xml
AddOutputFilterByType DEFLATE text/css
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 image/x-icon

# /etc/init.d/httpd restart
Or
# service httpd restart

Also you can enable mod_deflate GZIP Compression through cPanel :
Step 1 : Login to cPanel Account
Step 2 : In the Software/Services Section find the “Optimize Website” option.
Step 3 : Now Disable or Enable the Compression of the content available on your website.
Step 4 : Click On “Update Setting” Button.

You can contact us at esupport@L3webhosting.com if you require any further assistance.

Comments are closed.