cloudfront keeps serving an old index.html after deploy
Deployed a new build, S3 has the right object, but the site still shows last week's JS. CloudFront distribution in front of the bucket, default TTL 86400. I ran an invalidation for /index.html and it completed, but the hashed asset filenames in the HTML point to files that no longer exist, so I get 404s. What's the right invalidation strategy?
4 replies