3 ms·
Ah, I actually mis-read the article. Sorry, I'm wrong, you're right, that would work ;-) I guess the only situation this wouldn't work would be if the user's b
by JangoSteve 16y ago
Ah, I actually mis-read the article. Sorry, I'm wrong, you're right, that would work ;-)
I guess the only situation this wouldn't work would be if the user's browser supports gzipping, but doesn't have javascript enabled, but then it'll just serve everything unzipped by default, so not a big deal at all.
Also, it seems kind of a pain to have to do that if-statement throughout all of your javascripts, html, and stylesheets. But I'm sure you could probably create a javascript 1-liner that runs after everything else that just goes through and changes all the sources for you, so it might end up being even easier than our method.
- byoung2 16y agoI'd be willing to bet that Amazon starts offering on the fly gzip within a year's time
- cloudberryman01 16y agoCheck out our blog post on how you can enable gzip for CloudFront using the GUI tool http://blog.cloudberrylab.com/2009/07/how-to-lower-your-amazon-s3-bills-with.html http://blog.cloudberrylab.com/2009/07/how-to-lower-your-amaz...