AWS CloudFront is a content distribution service offered by AWS to serve low latency content with high data speed. CloudFront caches the object to its edge location. If the user has updated an object before it has expired or before the Cache-control max age, CloudFront will still show the older object. If the user wants to load the updated object, it is necessary to remove the origin object from the CloudFront edge location. This can be achieved with:
- Invalidating the object
- Object versioning
The present guide demonstrates how to invalidate an object from a download distribution.