Sunday 6 June 2010

Optimize The Page Loading Speed Using GZIP Compression

Since page loading speed will be an important factor to judge a site, making your blog faster would be an essential task. There are various ways to do, and you can easily find tips on the Internet. However, those tips usually include removing unnecessary widgets, use images in posts smarter, use external resource files etc. There is a rare hack that not every blogger knows, but I believe it would increase the page loading speed by 50 to 100 percent. It is GZIP Compression.

The usual way your browser interacts with the server is to download all the content without compressing it. So it takes time and reduces the page loading speed.

image

By using GZIP Compression, the server takes the request from the client, then looks for the file and compresses it before returning to the client. The browser then will decompress the data and display it. This way may save times, decrease the bandwidth as well as the page size (I believe Google love small pages).

image

To use optimize your blog by using GZIP Compression, you simply apply some hacks on .htacces file or using PHP to return compressed content. Follow tips on BetterExplained to do (read: How To Optimize Your Site With GZIP Compression)

Related posts:

No comments:

Post a Comment