DEV Community

Cover image for AWS - Clean CloudFront Cache
Luis Puentes Vega
Luis Puentes Vega

Posted on

1

AWS - Clean CloudFront Cache

While working with one website hosted in S3 that it is using CloudFront, since CloudFront caches the pages, sometime you need to clean the cache to see the changes.

Below are the steps to clean the cache in CloudFront:

  • Login into AWS and go to CloudFront

CouldFront List

  • Click in the CloudFront, then click in [Invalidations]

CloudFront Invalidation

  • Click in Create Invalidation and add /* in object path as below

ClouldFront Invalidation

  • Click in Create Invalidation. After a few seconds, you will see the cache was cleaned and you will be able to see the new changes

CouldFront Clean succesfully

That's all to clean up the CloudFront cache!

Speedy emails, satisfied customers

Postmark Image

Are delayed transactional emails costing you user satisfaction? Postmark delivers your emails almost instantly, keeping your customers happy and connected.

Sign up

Top comments (0)

Sentry image

See why 4M developers consider Sentry, “not bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay