cPanel

How to enable mod_deflate compression in cPanel

Enabling gzip compression compresses your website content into gzip files before sending them to your visitor’s browser. It can significantly improve the performance of your website and provide a better experience to your visitors.

We enable Gzip compression by default on all Ecenica shared-hosting plans with cPanel.

Mod_deflate (also known as mod_gzip) can reduce the data used to send files by up to 90%, significantly reducing the amount of time required to download your web pages. As the files are smaller it uses less bandwidth and means your mobile visitors will use less of their mobile data allowance.

Mod_deflate is available on all Ecenica shared-hosting including our Cloud Hosting and WordPress Hosting. As well as our Managed Cloud Servers with cPanel/WHM.

How to enable mod_deflate cPanel

  1. Log in to cPanel.
  2. Click Optimize Website.

    cpanel optimize website

  3. Select Compress the specified MIME types.

  4. Copy and paste the following into MIME Types:

application/atom+xml
application/javascript
application/json
application/ld+json
application/manifest+json
application/rdf+xml
application/rss+xml
application/schema+json
application/geo+json
application/vnd.ms-fontobject
application/wasm
application/x-font-ttf
application/x-javascript
application/x-web-app-manifest+json
application/xhtml+xml
application/xml
font/eot
font/opentype
font/otf
font/ttf
image/bmp
image/svg+xml
image/vnd.microsoft.icon
text/cache-manifest
text/calendar
text/css
text/html
text/javascript
text/plain
text/markdown
text/vcard
text/vnd.rim.location.xloc
text/vtt
text/x-component
text/x-cross-domain-policy
text/xml
  1. Click Update Settings.

cpanel optimize website content types

How to disable mod_deflate in cPanel

  1. Log in to cPanel.
  2. Click Optimize Website.
  3. Select Disabled.
  4. Click Update Settings.

The Optimize Website setting applies to all websites on your cPanel account.

Was this guide helpful?

Need help with this?

Open a ticket and link to this guide so our team can see what you have tried.

View support tickets

Power your business with Ecenica Hosting

Built for WordPress and serious websites. Fast, secure and supported by real people in the UK.

Ecenica hosting services represented by a connected red route across London