Optimize Website

Optimize Website

This interface allows you to configure your server to automatically compress specified types of content when visitors access that content.

Note:

Your system administrator must enable mod_deflate for the Optimize Website interface to appear in cPanel.

Manage compression

To disable compression of your website's content, perform the following steps:

  1. Select Disabled.
  2. Click Update Settings.

To compress all of your website's content, perform the following steps:

  1. Select Compress all content.
  2. Click Update Settings.

To specify a list of types of content to compress, perform the following steps:

  1. Select the Compress the specified MIME types option.
  2. 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).

    Notes:

  3. Click Update Settings.

Note:

 cPanel saves your settings to a .htaccess file in your home directory. Your system administrator customizes these settings with the Apache FileMatch directive.

Additional information

For more information about the mod_deflate module, which handles website content compression, read the documentation for your server's version of Apache:

Note:

The Stats sidebar on your cPanel dashboard displays your server's version of Apache.

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

PHP

PHP This interface displays a set of the most commonly-referenced configuration...

PHP PEAR Packages

PHP PEAR Packages PHP PEAR packages are software components that are written in the PHP...

Perl Modules

Perl Modules Perl modules are software components in the Perl language. This interface...

RubyGems

RubyGems RubyGems is a package manager for the Ruby programming language. It...

Ruby on Rails

Ruby on Rails This interface allows you to create and deploy a Ruby on Rails®...