I serve all my static content from Cloudfront through my S3 bucket.
If I delete everything in my S3 bucket, will this clear the CloudFront cache? Or, since I set cache control in a very distant future, does CloudFront not even check anything in S3?
Is there an easy way to clear my entire CloudFront cache? I just found out about caching and, without hesitation, assigned ALL headers related to the cache for a year in the future. I know that I can change the file names in my HTML to get around this, and I can also invalidate the files one by one, but at the moment I have a large number of files and I will like the easy way to do this through the whiteboard.
source share