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!

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

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

Which is the right folder to upload my website?

The right folder is the public_html or www folder (it's the same).Please upload your website on...

phpSuExec or suPHP

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

Θα υπάρχουν αντίγραφα (backups) από το site μου;

Αν πήρατε το πακέτο σας πριν την 1η Ιανουαρίου του 2014, τα backups μπορούν να γίνουν από εσάς...

How can I submit my website to search engines?

This page tells you exactly how to do directory registrations and search engine registrations...

End of free hosting period

  When I ordered from you I had one year free hosting. Now this period ends can I...