- Newest
- Most votes
- Most comments
Hello,
According to the AWS Documentation, to invalidate files, you can specify either the path for individual files or a path that ends with the *
wildcard, which might apply to one file or to many, as shown in the following examples:
For one image, you specifically mention the name of the image to invalidate; Example: /images/image1.jpg
Double check your invalidation to see if you have not used a wildcard such as /images/image*
or /images/*
which is a path for more than one image.
Please note that you can include the *
wildcard at the end of the invalidation path, and using the wildcard invalidates multiple files such as all of the files in a directory or all files that begin with the same characters.
Please refer to this AWS documentation to Specify the files to invalidate.
I hope this helps.
Relevant content
- asked 5 months ago
- Accepted Answerasked 2 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 3 years ago