Backbencher.dev

How to Clear Cloudfront Cache in AWS

Last updated on 26 Nov, 2022

First, Click on the Cloudfront ID for which you want to clear the cache.

Cloudfront Ids

In the Cloudfront Id details page, click on Invalidations tab. There you can see all invalidations done so far. Invalidations means clearing cache.

All invalidations

In order to clear cache, click on "Create Invalidation" button.

Create Invalidation

In the textarea, you can provide the url patterns to clear the full cache or a portion of cache. When you click on the orange Create Invalidation button, you can see a loader loading for some time and then show Complete. At that time you can ensure that the cache is cleared.

--- ○ ---
Joby Joseph
Web Architect