News for hackers. Stuff that matters.
Re:Distribute Your Content With Amazon CloudFront by tlrobinson on Tuesday November 18, 2008 @06:04PM (#368876)
This is general CDN question: how does one enable compression for CDN-served resources?

In Apache I just enable mod_deflate or mod_gzip, or serve up a .gz and set the Content-Encoding to gzip.

Do CDNs offer this somehow?

Can I set arbitrary headers like Content-Encoding?

Also, does anyone have stats on which browsers support deflate and gzip encodings? I imagine the vast majority at this point do.

Re:Distribute Your Content With Amazon CloudFront by RyanGWU82 on Friday November 21, 2008 @04:41AM (#371731)
With Amazon S3, you can set the Content-Encoding header to enable gzip. Here's a tutorial: http://devblog.famundo.com/articles/2007/03/02/serving-compr...

I'm not sure yet whether you can do that with CloudFront.

Re:Distribute Your Content With Amazon CloudFront by crabapple on Wednesday November 19, 2008 @01:10AM (#369236)
the point of a cdn is to give you an SLA and honor it. how they configure their delivery platform should be opaque to you, its not like you are going to be getting a shell on the cdn machines anyway
Re:Distribute Your Content With Amazon CloudFront by tlrobinson on Wednesday November 19, 2008 @02:20AM (#369277)
So can someone else answer my question then? If I want my content gzip encoded are CDNs simply not an option?