DEV Community

Discussion on: Serverless Static Wordpress on AWS for $0.01 a day

petewilcock profile image
Pete Wilcock Author

The CloudFront cache settings will be respected, so depending on what you set in the cache-control:expiry header as in the S3-Addon, the results will continue to be cached in CloudFront for that amount of time. The default set on the distribution is 7 days if there are no other values.

You can speed this up with a CloudFront invalidation, but that must be used with caution.

Thread Thread
jolo profile image
JoLo

Got it. Thank you so much :)

Some comments have been hidden by the post's author - find out more