Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

is there any way to update files stored on Amazon's CDN service? Seems like it won't take any update of a file we make (eg. removing the file and storing the new one with the same file name as before). Do I have to explicitly trigger an update process to remove the files from the edge servers to get the new file contents published?

Thanks for your help


share|improve this question
You're talking about Amazon cloudfront, right? – Thomas Jul 6 '09 at 13:34

Do not use the same name.

You're supposed to use a new name for new versions of the same file.

  1. logo.png--0
  2. logo.png--1 etc...

They will cache like you have noticed. This is by design.

share|improve this answer

For the record, Amazon does have a 24 hour cache on the S3 service, so it might take some time until your new image shows up.

As far as I know, Amazon itself recommends filename versioning if you have content that updates faster than a 24 hour cycle allows.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.