3 ms·
I feel like this is almost a non issue unless you're running a site that absolutely needs to run everywhere since the last browsers that shipped without gzip su
by HeyImAlex 14y ago
I feel like this is almost a non issue unless you're running a site that absolutely needs to run everywhere since the last browsers that shipped without gzip support were released in what, 1998? A significant portion of your users (according to O'Reilly's 2009 _Even Faster Websites_, around 15%) don't say they can support gzip even though they can. Just ignoring Accept-Encoding headers and serving only gzipped content is probably good enough for 99% of people and likely gives you slightly better overall performance on average than actually respecting whatever the request headers say.
- jdorfman 14y ago@HeyImAlex A week ago I would have totally agreed with you. I asked a friend and he told me "replace the user-agent with a misconfigured upstream proxy and you run the risk of serving an uncompressed version to end user that supports gzip, and vice versa."
- eli 14y agoSounds dangerous, but if you try it out on a popular site, I'd love to hear your results!