cPanel - Software - Optimize Website
Very useful if you wish for your site visitors to have a slightly better and faster experience when browsing your website. This is done using the gzip compression before sending it to the browser. The web browser will then extract the data and displays the webpage. All modern browsers support gzip compression.

Manage compression
To compress all of your website’s content, perform the following steps:
- 1) Select Compress All Content.
- 2) Click Update Settings.
To disable compression of your website’s content, perform the following steps:
- 1) Select Disabled.
- 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).
Image file formats (for example, .jpg and .png) already compress data. Do not include any image file formats in the list.
Apache will compress PHP content if you enable the zlib.output_compression setting in cPanel’s MultiPHP INI Editor interface
cPanel >> Home >> Software >> MultiPHP INI Editor
For more information, see List of Internet media types.
- 3) Click Update Settings.
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
The Stats sidebar in cPanel’s Home interface displays your server’s version of Apache.
- Apache 2.0 Server documentation for mod_deflate
- Apache 2.2 Server documentation for mod_deflate
- Apache 2.4 Server documentation for mod_deflate
Related cPanel Tutorials and How To Guides
Manage, tweak, and increase the security and performance
Tweet Share Pin Email
Add Comment
This policy contains information about your privacy. By posting, you are declaring that you understand this policy:
- Your name, rating, website address, town, country, state and comment will be publicly displayed if entered.
- Aside from the data entered into these form fields, other stored data about your comment will include:
- Your IP address (not displayed)
- The time/date of your submission (displayed)
- Your email address will not be shared. It is collected for only two reasons:
- Administrative purposes, should a need to contact you arise.
- To inform you of new comments, should you subscribe to receive notifications.
- A cookie may be set on your computer. This is used to remember your inputs. It will expire by itself.
This policy is subject to change at any time and without notice.
These terms and conditions contain rules about posting comments. By submitting a comment, you are declaring that you agree with these rules:
- Although the administrator will attempt to moderate comments, it is impossible for every comment to have been moderated at any given time.
- You acknowledge that all comments express the views and opinions of the original author and not those of the administrator.
- You agree not to post any material which is knowingly false, obscene, hateful, threatening, harassing or invasive of a person's privacy.
- The administrator has the right to edit, move or remove any comment for any reason and without notice.
Failure to comply with these rules may result in being banned from submitting further comments.
These terms and conditions are subject to change at any time and without notice.
Outsmarting the Smart Devices
Encrypting USB Drives with MacOS or Microsoft Windows
Now even your Car Spies on You
How To Wipe my Smartphone Before I Sell It
Comments