-
Notifications
You must be signed in to change notification settings - Fork 9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for Brotli compression on Cloudfront #15172
Comments
Requires AWS SDK v1.34.21: Looking at the Working with policies section of the CloudFront Developer Guide, Brotli compression is enabled via an attribute on the Cache Policy object: #14373, #14672. |
Now included in #14672 as |
This has been included in the new |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thanks! |
Community Note
Description
AWS have announced support for Brotli on Cloudfront: https://aws.amazon.com/about-aws/whats-new/2020/09/cloudfront-brotli-compression/ which in theory enables smaller file sizes, and is widely supported by Chrome and Firefox.
It would be great to be able to enable this across our CloudFront distributions.
New or Affected Resource(s)
Potential Terraform Configuration
Currently the default_cache_behavior just has
compress
with a boolean value:Perhaps:
would be better, if possible, to enable users to make a decision on which compression types to support? I'd personally be happy with just
compress = true
supporting both gzip and br, but I'm not sure if that's universal and would change existing distributions.References
The text was updated successfully, but these errors were encountered: