1 Answer
- Newest
- Most votes
- Most comments
1
What's your CloudFront TTL? If the object is already cached at the edge location, and after that you've updated the source, the old version of the object at the edge location will carry on being served until the TTL is reached https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Expiration.html
You can invalidate the cached object and force the new version to be retrieved from the source into the cache https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Invalidation.html
Relevant content
- asked a year ago
- asked 2 years ago
- Accepted Answerasked 10 months ago
- AWS OFFICIALUpdated 9 months ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 9 months ago
- AWS OFFICIALUpdated 2 years ago
Thanks buddy, it works exactly as you explained before. I've disabled the cache now, so that no more issues like that should appears. Thanks a lot for your support and soon reply.