aws-amplify / amplify-cli

The AWS Amplify CLI is a toolchain for simplifying serverless web and mobile development.
Apache License 2.0
2.82k stars 820 forks source link

Change the default MinTTL for cloudfront distributions to 0 #13940

Open Amplifiyer opened 1 month ago

Amplifiyer commented 1 month ago

Description of changes

It's recommended that the default template when deploying distributions has MinTTL set to 0 so that Cloudfront can still caches requests but not include other headers such as the RSC in responses.

Issue #, if available

Description of how you validated changes

Checklist

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.