Answer the question
In order to leave comments, you need to log in
How to overcome caching when replacing a file in S3 with another one with the same name?
How can you let the browser know that the file has been changed and you need to download a new one if the name remains the same? I really don't want to introduce versioning and create unnecessary logic for deleting old files.
Answer the question
In order to leave comments, you need to log in
S3 takes care of this on its own and manages the headers too, so that's not a problem. If you want higher control, then you can wrap S3 through CloudFront
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question