Enable gzip on WHM/cPanel

To enable gzip, login to cPanel account for the user account which GZIP compression wants to be turned on. Then click on Optimize Website under Software / Services. Choose Compress All Content or Compress the specified MIME types to enable GZIP compression on all websites hosted by the particular account. Click on Update Settings when done.

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: http://www.gziptest.com/

Leave a Comment

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.