Join Slack
Powered by
<https://stackoverflow.com/questions/47390896/disa...
# help
a
Artemiy Davydov
03/30/2022, 1:01 PM
https://stackoverflow.com/questions/47390896/disabling-cache-for-cloudfront
Does anyone know how to do this with modern SST?
t
thdxr
03/30/2022, 1:19 PM
did some digging, it's somewhere here:
https://docs.aws.amazon.com/cdk/api/v1/docs/@aws-cdk_aws-cloudfront.Behavior.html
thdxr
03/30/2022, 1:19 PM
but I can't figure out how to use this
thdxr
03/30/2022, 1:20 PM
I was thinking it's in
new sst.StaticSite(..., { cfDistribution: { defaultBehavior
thdxr
03/30/2022, 1:20 PM
but minTtl is missing from there
f
Frank
04/11/2022, 7:18 PM
@Artemiy Davydov
just checking in to see if you got it to work?
Open in Slack
Previous
Next