How to enable GZIP compression in cPanel Sites

Enable GZIP Compression on Per Account Basis

Compression is a simple, effective way to save bandwidth and speed up your site.

Login to cPanel account for the user account which GZIP compression wants to be turned on. Then click on Optimize Website under Software / Services.

cPanel Software Services

User will be presented with options to compress all content or compress the specified MIME types, with a text box to specify file types to compress is selected (default is text/html text/plain text/xml). Choose either one setting to enable GZIP compression on all websites hosted by the particular account. Click on Update Settings when done.

cPanel Optimize Websites

Tip: Possible MIME types include text/html, text/plain, text/xml, text/css, text/javascript, application/javascript, application/xhtml+xml, application/xml, application/rss+xml, application/atom_xml, application/x-javascript, application/x-httpd-php, application/x-httpd-fastphp, application/x-httpd-eruby, and image/svg+xml.

Once you're done you can easily test to see if the compression is working by using the gzip test tool here:

  • 128 Users Found This Useful
Was this answer helpful?

Related Articles

Email Auto Responders

Add an Auto Responder To add or edit an auto responder: Click Add Autoresponder to create a...

Our official partners