How to Speed Up your Website with GZip Compression





It is extremely easy to speed up your website using gzip compression.

What is gzip compression?

Basically, gzip compression is when your webserver compresses your web pages, then sends these zipped files across the internet to whoever is viewing your website.

This person’s browser then automatically uncompresses these files.

This zipping and unzipping process happens in the background.

This easy to understand video by Google, explains a little more about gzip compression between a web server and a browser.. and how using gzip can help improve speed,

So what is the benefit of gzip compression?

Well.. smaller files = faster downloads = happy users

You are saving on bandwidth and download time.

Simple as that!




Do I Already Have GZip Compression?

To test if your website has gzip compression enabled visit WhatsMyIP.org.. enter your website’s URL, then click <Test>,

test for compression How to Speed Up your Website with GZip Compression

The results will tell you if your webserver is sending out compressed files or not.

If it is, then you don’t need to do anything else.. expect for putting your feet up!

If it isn’t, then you will be advised..

You will also be shown the actual size of your page, the size if it were gzipped and the potential savings,

not compressed How to Speed Up your Website with GZip Compression

Enabling GZip Compression

If you have a WordPress blog then these are the steps to enable gzip compression.

Log in.. then under the Appearance click on Editor,

editor How to Speed Up your Website with GZip Compression

Click on <header.php>,

header.php  How to Speed Up your Website with GZip Compression

Before you update this file make sure you back it up first!

Copy the following piece of code,

gzip compression code How to Speed Up your Website with GZip Compression

..then paste it at the very top of the file.. then click on <Update File>,

update file How to Speed Up your Website with GZip Compression

Done!

That is all you need to do.

GZip Compressed

To test this out head back to WhatsMyIP.org.. enter your website’s URL, then click <Test>,

test for compression How to Speed Up your Website with GZip Compression

Your webserver will now be serving compressed files,

compressed How to Speed Up your Website with GZip Compression

Smaller files = faster downloads = happy users!




Finally..

If you liked this post please register to receive The Social Media Guide’s free newsletter that’s packed with tips, guides and more!

Most of these posts are available to download for free as PDFs for registered members.

Please help spread the word by becoming a fan of The Social Media Guide on Facebook,

Become a Fan of The Social Media Guide7 How to Speed Up your Website with GZip CompressionAnd following me on Twitter,

follow @socialguide on twitter7 How to Speed Up your Website with GZip CompressionEnjoy!

shareit4 How to Speed Up your Website with GZip Compression

Related posts:

  1. Add a Facebook Fan Button to your Website
  2. How to Brand your Tweets with Your Website’s URL
  3. How to add Google Friend Connect to WordPress
  4. How to publish from Google Docs to your WordPress blog
  5. NetworkedBlogs – Bring your Blog to Facebook
  6. How to Stop Image Hotlinking by Counter-Punching with Free Advertising
  7. Share Files on LinkedIn with Box.net

TAGS: , , , ,

No Comments