News for hackers. Stuff that matters.
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?)
Re:Secret message in source code of Digg by ojbyrne on Sunday November 02, 2008 @01:19PM (#351532)
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 :)