How to enable mod_deflate GZIP Compression on cPanel

In website hosting industry, speed is one of the most important factor that we prefer. The website speed depends upon many factors. This post also related with the website speeding. The GZIP compression technique in cPanel compress the image file and increase the file transferring speed. We can enable the GZIP compression from the cPanel itself, befroe doing that you need to enable the mod_deflate module on Apache. Click here for getting more about >> Enable mod_deflate in Apache <<, you can simply enable it by executing EasyApache on a cPanel server.

The Gzip compression is very helpful to speedup the website loading speed. The ‘mod_deflate’ module is required to enable the gzip compression on an account.
After enabling the mod_deflate module on Apache please do follow the steps for enabling gzip compression on each account via cPanel.

Step 1 : Login to your cPanel account

http://yourdomain.com/cpanel 
Or
http://yourdomain.com:2082 / 2083(SSL)

Step 2 : From the cPanel home page you can find out the “Optimize Website” option under “Software/Services”. See the image for more details:

software

Step 3: On this page, you can disable or enable compression of your site’s content.

software1

Step 4 : Click Update Settings.

That’s it.

Related links:
How to enable mod_deflate in apache
How to disable ‘Directory listing’ in Apache web server?
How to change the apache port via command line in cpanel

Post navigation

Arunlal A

Senior System Developer at Zeta. Linux lover. Traveller. Let's connect! Whether you're a seasoned DevOps pro or just starting your journey, I'm always eager to engage with like-minded individuals. Follow my blog for regular updates, connect on social media, and let's embark on this DevOps adventure together! Happy coding and deploying!

5 thoughts on “How to enable mod_deflate GZIP Compression on cPanel

Leave a Reply

Your email address will not be published. Required fields are marked *