If set Invalidations in cloud front, cache still working in cloudfront ?

0

If I set "/*" in Invalidations. I don't know cache in cloudfront will be disable or still working only reload if file in S3 change.

Nam
gefragt vor 7 Monaten199 Aufrufe
1 Antwort
0
Akzeptierte Antwort

Hello.

Clearing the cache with "/*" will delete all the cache at that point.
In other words, it doesn't matter if the S3 object is being updated.
If you delete CloudFront's cache while S3 objects have not been updated, the cache for the objects that have not been updated will only be recreated.
https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Invalidation.html

profile picture
EXPERTE
beantwortet vor 7 Monaten
profile pictureAWS
EXPERTE
überprüft vor 7 Monaten
  • hmmm. I have more question. If I have file image name "logo.png" in S3. So I have delete file and upload new file same name "logo.png" how to tell CloudFront update new file image. I try Invalidations "/*" but Cloudfront still get old image

  • Did you clear the CloudFront cache after updating the file? Also, please delete your browser cache.

  • Oh It's work. I don't know must delete browser cache. Thanks

  • Does any way AWS support to watch which file or images store in cache CloudFront ?

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen