Hacker News new | ask | show | jobs
by user5994461 3379 days ago
Last I checked, compression wasn't supported by all browsers all the time. It needs to be done dynamically depending on the settings the browser allows.

nginx or varnish can do that (with more or less correct rules).

In practise, I usually disable compression everywhere and let the CDN handles it.

The CDN is configured to compress on the fly and I am very confident that CloudFlare/Akamai are doing that much better than a broken snippet of nginx settings from stack overflow.

1 comments

As one would expect, S3 can certainly support various browsers. It ends up being just like content negotiation, in that you have multiple representations that could be served from a particular resource, depending on what headers are sent.

I'm not sure if it's still like that, since I'm not using S3 for that right now.