DEV Community

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

Posted on

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!

Top comments (0)