3 ms·
How does that work? Is the page sent gzipped and my computer un-gzips it? (and what specifically does that..do browsers do that?)
by maximilian 18y ago
How does that work? Is the page sent gzipped and my computer un-gzips it? (and what specifically does that..do browsers do that?)
- ojbyrne 18y agoYep. 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.
- maximilian 18y agoThats pretty kickin. If I made websites for a living I would look into that further.
- bkbleikamp 18y agoMost people who work on large scale websites know about it :)
- kirubakaran 18y agogzipping 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.