- Newest
- Most votes
- Most comments
This will depend on the cache (expiration) settings. From the Amazon CloudFront user guide:
Typically, CloudFront serves a file from an edge location until the cache duration that you specified passes—that is, until the file expires. After it expires, the next time the edge location gets a request for the file, CloudFront forwards the request to the origin to verify that the cache contains the latest version of the file.
By default, each file automatically expires after 24 hours, but you can change the default behavior in two ways: (a) CloudFront TTL settings or (b) Cache-Control header
In case you need to remove a file manually from CloudFront edge caches before it expires, you can invalidate the file (e.g. CSS style sheet file). More information about Invalidation is available here: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Invalidation.html
Relevant content
- Accepted Answer
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 3 months ago
- AWS OFFICIALUpdated 7 days ago
- AWS OFFICIALUpdated a year ago