How to optimize website contents?

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 clicking on Optimize Website link in the Software section of cPanel.

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

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 − Click Update Settings to update the settings.

  • website speed slow, optimize
  • 0 brukere syntes dette svaret var til hjelp
Var dette svaret til hjelp?

Relaterte artikler

How to show hidden files (.htaccess) in cPanel File Manager?

Many users ask us how they can see the .htaccess files for their websites in cPanel File Manager....

How Can I Compress / Uncompress Files Using the File Manager?

How to Compress Files Go to the File Manager. Navigate to the folder where the files you want...

How to View Your cPanel Disk Space Usage?

In order to view your cPanel disk space usage, there’s a great tool located inside of your...

Accessing webmail for your domain

To access the included webmail email clients included with your hosting account, you’ll need to...

How to rename a database in phpMyAdmin?

phpMyAdmin is a free and opensource application for MySQL database management. It is one of the...