Amazon CloudFront Now Supports Gzip Compression at the Edge

Posted on: Dec 17, 2015

Amazon CloudFront can now compress your objects at the edge. You can now configure CloudFront to automatically apply GZIP compression when browsers and other clients request a compressed object with text and other compressible file formats. This means that if you are already using Amazon S3, CloudFront can transparently compress this type of content. For origins outside S3, doing compression at the edge means you don’t need to use resources at your origin to do compression. The resulting smaller size of compressed objects makes downloads faster and reduces your CloudFront data transfer charges.

This feature is available today in all CloudFront edge locations for no additional charge, and can be simply enabled by selecting the compression option in CloudFront API or management console. To learn more, please visit the gzip section of the CloudFront developer guide.