Re:Secret message in source code of Digg
by ojbyrne on Sunday November 02, 2008 @12:16PM
(#351475)
You left out the fact that use gzip to compress their pages. So the real answer is - even less.
[ Parent
| on HN ]
Re:Secret message in source code of Digg
by maximilian on Sunday November 02, 2008 @01:16PM
(#351531)
How does that work? Is the page sent gzipped and my computer un-gzips it? (and what specifically does that..do browsers do that?)
Yep. The browser sends an "Accept-Encoding" header as part of its request (with a list of what it supports). And the server can respond back with one of the encodings listed. Most modern browser support compression I believe.
Re:Secret message in source code of Digg
by maximilian on Sunday November 02, 2008 @01:26PM
(#351538)
Thats pretty kickin. If I made websites for a living I would look into that further.
Re:Secret message in source code of Digg
by kirubakaran on Sunday November 02, 2008 @07:49PM
(#351781)
gzipping saves bandwidth at the cost of cpu cycles. So it may or may not be a good idea, depending on what you are trying to save.
Re:Secret message in source code of Digg
by bkbleikamp on Sunday November 02, 2008 @03:14PM
(#351613)
Most people who work on large scale websites know about it :)
58667 digg-orig.html
14585 digg-orig.html.gz
58560 digg-noegg.html
14524 digg-noegg.html.gz
61 bytes.Yep, I remembered about compression after I posted.
So did you have anything to do with this hidden message? :p