AWS NETWORKING AND CONTENT DELIVERY PRACTICAL NOTES
Updating Existing Content with a CloudFront Distribution: If you need to remove a file from CloudFront edge cache before it expires, you can do one of the following: Invalidate the file from edge caches. The next time a viewer requests the file, CloudFront returns to the origin to fetch the latest version of the file.Use file versioning to serve a different version of the file that has a different name. For more information, see Updating Existing Files Using Versioned File Names.In this case, the best option available is to invalidate all the application objects from the edge caches. This will result in the new objects being cached next time a request is made for them. Use Latency-based routing to improve application performance for your users: If your application is hosted…