We have a new documentation site for cPanel & WHM! You can find our new documentation site at docs.cpanel.net.
We will continue to maintain our API documentation on this server.
For cPanel & WHM 11.48
(Home >> Software and Services >> Optimize Website)
This interface allows you to configure your server to automatically compress specified types of content when visitors access that content.
Your system administrator must enable
mod_deflate for the Optimize Website interface to appear in cPanel.
To disable compression of your website's content, perform the following steps:
To compress all of your website's content, perform the following steps:
To specify a list of types of content to compress, perform the following steps:
In the MIME types text box, enter a space-separated list of the types of content that you wish to compress (for example,
text/html text/plain text/xml).
.png, already compress data. Do not include any image file formats in the list.
cPanel saves your settings to a
.htaccess file in your home directory. Your system administrator customizes these settings with the Apache FileMatch directive.
For more information about the
mod_deflate module, which handles website content compression, read the documentation for your server's version of Apache:
The Stats sidebar on The cPanel Home Interface displays your server's version of Apache.