How do you handle CloudFront / S3 and files needing to be overwritten or updated?
[ad#ab_post_top]
The most experience I have with CDN’s or Content Delivery Networks resides mostly with Akamai. However as I make a move toward CloudFront, the single striking issue hitting me in the face has to be how one handles overwriting files.
From what I have heard, the best practice when dealing with CloudFront and S3 is to version your filenames. Maybe something like v1_filename.jpg or v1_common.css
Then, when it comes to a new update and you can’t wait 24 hours for the file to be updated/purged, you upload v2_filename.jpg
This seems like a giant hassle which requires you to update your web application to use the newly named filename. Is there a solution around this with CloudFront and S3?
Please, comments are welcome!
[ad#ab_post_bottom]
Tags: cdn, cloud, cloudfront, content delivery network, files, overwritten, s3