English 中文(简体)
cPanel Tutorial

cPanel Useful Resources

Selected Reading

cPanel - Optimize Website
  • 时间:2024-11-03

cPanel - Optimize Website


Previous Page Next Page  

This interface of cPanel helps you to enable gzip compression. Apache allows you to compress the data before sending it to the browser and then web browser extracts the data and displays the webpage. All modern browsers support gzip compression. This gzip compression needs Apache mod_deflate to function currently, which is available in most cPanel installed Linux servers. This compression is very useful, because it helps in compressing data hence our bandwidth is saved, plus it makes our website to load much faster.

You can compress specific types of MIME (Multipurpose Internet Mail Extensions) or you can compress all the files using this interface.

To enable gzip compression, follow these steps −

Step 1 − Open cPanel Optimize Website interface by cpcking on Optimize Website pnk in the Software section of cPanel.

Optimize Website

Step 2 − In Optimize Website, you will see Compress Content.

cPanel Optimize Website

You can choose from the following −

    Choose Disable to disable gzip compression.

    Choose Compress All Content to enable gzip compression for all content.

    Choose Specified MIME types and provide MIME types in text box. MIME type are similar to file types. It has both file type and file format information separated with a slash. E.g. text/javascript, text/css, image/jpg, image/png etc.

Step 3 − Cpck Update Settings to update the settings.

Advertisements