Ensure that your Amazon Cloudfront Content Delivery Network (CDN) distributions are configured to automatically compress content for web requests that include "Accept-Encoding: gzip" in the request header, in order to increase your web applications performance and reduce bandwidth costs. AWS Cloudfront compresses files of certain types for both Amazon S3 origins and custom origins.
This rule can help you with the following compliance standards:
This rule resolution is part of the Cloud Conformity Security & Compliance tool for AWS
To determine if your existing AWS Cloudfront distributions are configured to compress web content automatically, perform the following actions:
To configure your existing AWS Cloudfront CDN distributions to automatically compress your web content (CSS, JS, HTML, etc), perform the following actions: