Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

How gzip works

Loading...

Sign in or sign up now!
22,846
Loading...
Alert icon
Sign in or sign up now!
Alert icon
There is no Interactive Transcript.

Uploaded by on Jun 22, 2009

This video explains gzip compression between a web server and browser and how using gzip can help improve speed. For more information, visit http://code.google.com/speed

  • likes, 8 dislikes

Link to this comment:

Share to:

Top Comments

  • The illustration would have been more accurate and more entertaining to watch if Kevin would have deflated the ball, thrown the deflated ball at Eric and Eric would have inflated it with his own air.

  • Google used to be just a simple search engine and now they direct us on what to put in our pages, servers, how to optimize, etc :)

    You don't have to listen to them, only if you want to stay in business :)

    BTW: when I enabled Gzip, my pages loaded around 0.5 - 1.5 seconds faster in average, so I recommend this to all. And recently Google is using page speed as a signal in calculating the ranking in results.

see all

All Comments (17)

Sign In or Sign Up now to post a comment!
  • All you need to do if your site is PHP is enable one single code on the top of your pages JS. Done. If you do this in a global file where all files use it that works well. But one thing they need to show users is further compression, where all strings in HTML and CSS are compressed in the source ton one or a few lines, removing extra breaks and extra formating that does not affect the page, just wasts space.

  • @9578755 Edit heh: hire is the solution:

    autoitscript[dot]com/forum/top­ic/111220-solved-decompressing­-gzipped-binary-string/

  • @9578755 If that's your question, you're not a programmer. lol.

  • but what im a programmer & I need to download the page. then it gives me this gzip shit. how can I make gzip decompressor ?

  • Too bad that my web host doesn't support it. It's right there but unfortunately disabled. And they wont enable it except for dedicated hosting.

  • lol that was so cheesy... :P useful tho

  • but if the server doesnt support the file and everyone gets that same message back doesnt that mean the message is a auto bot message?.

  • having the server gzip on the fly to the browser is not just gziping all your html with gizp * though its just a setting in Apache and other servers. You don't need to do more than turn it on.

    It compresses on the server -> sends smaller file -> uncompresses on client browser

    As compression is cheaper on the computer than data sent on the internet

Loading...

0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more