Cloudfront Cache-Control header on static website #370
esimonetti
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello!
I was wondering if this discussion #5 went anywhere, or if there is an alternative way to specify a Cache-Control headers for assets, programmatically from the yml file.
DefaultCacheBehavior has deprecated DefaultTTL (https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-defaultcachebehavior.html), and the CachePolicyId specified seems to be a hardcoded standard value, what could be the next step to allow the specification of the Cache-Control header, without breaking anything else?
I could not figure this out myself, hence why I am asking!
Thank you for your insights
Beta Was this translation helpful? Give feedback.
All reactions