How to enable Apache Gzip Compression (mod_deflate) in cPanel Account

Apache mod_deflate module is used for compressing content before serving to client. You can configure compression in your cPanel.

Let’s use following steps to enable Apache gzip compression using cPanel web interface.

 

Step 1 – Login to cPanel Account

First login to your cPanel account using web interface. The default URL of cPanel access will be like below

https://domain.com:2083

 

Step 2 – Open Optimize Website Panel

After login to the cPanel account, You will find option Optimize Website under the Software section. Just click on Optimize Website icon to open settings.

 

Step 3 – Enable Apache Gzip Compression

On this page, you will find three options to select. Get below details of each option and select the appropriate option.

  • Disabled – Select this option to disable gzip compression for you website and click Update Settings.
  • Compress all content – Select this option to compress all your website’s content and click Update Settings.
  • Compress the specified MIME types – Select this option and input the MIME types in below text box to compress specific files only and click Update Settings. 

 

 

Select on Compress All Content option and "update settings"

That's it! You have successfully enabled Gzip compression for your site!

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Managing MySQL databases in cPanel

cPanel offer a simple and easy method for managing MySQL databases. MySQL databases store large...

How to login to cPanel

This tutorial assumes you already opened your browser and entered your cPanel login URL. NOTE:...

Managing FTP accounts in cPanel

An FTP or File Transfer Protocol account is used for managing and uploading files for your...

Managing Backup in cPanel

How to Generate/Download a Full Backup A full cPanel backup makes a copy of all of your files,...

Managing Email Accounts in cPanel

How to create email accounts in cPanel? cPanel create a default email for your main cPanel user...