HTTP compression / gzip content compression

The HTTP compression makes better use of available bandwidth, and provide greater transmission speeds between the server and the client.

- The cPanel provides you an easy way to do this from the "Software/Services" section -> Optimize Website -> Compress Content

- If you have a VPS or a dedicated server, perhaps you use a free open sourse control panel such the "Kloxo". If you use Kloxo, you can enable the HTTP compression from -> Domain Home -> Servers -> localhost -> PHP Config -> Output Compression

You can also do this manually by adding some code in your .htaccess file in your public_html folder. Open your public_html folder, find you .htaccess file (you need to select the "Show Hidden Files (dotfiles)" tickbox when you open the cPanel file manager or set your ftp program to display the hidden files if you use any ftp client. Add the following lines to the .htacces file and then save:


AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css application/x-javascript
BrowserMatch ^Mozilla/4 gzip-only-text/html
BrowserMatch ^Mozilla/4\.0[678] no-gzip
BrowserMatch \bMSIE !no-gzip !gzip-only-text/html


Congratulations! Now your content is compressed!

Σας βοήθησε αυτή τη απάντηση;

Επίσης Διαβάστε

Why do some companies offer unlimited space or Bandwidth?

Unfortunately Disc Space and Internet Bandwidth costs. The companies that advertise packages...

How can I change the name servers?

  In order to use a ZiZ Hosting Plan, you have to update the name servers of your...

How can I upgrade or downgrade my Hosting Plan?

Log in the Client Area using your e-mail and password Select Product &...

phpSuExec or suPHP

PHPsuExec (pronounced sue-eksek) is a more secure environment for executable files....