Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

AEM cloud: how to flush CDN cached images?

Avatar

Level 8

We are using a 1 month max-age for all images hosted in the Cloud AEM DAM.  If we have to change an image without changing its name (e.g. because there was a complaint about the content of the image), how do we flush the CND caches?  E.g. is there an api or a control panel?

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

@TB3dock Yes it's possible and you can do it. Please refer the link here and it will give an idea about how we can use the custom CDN. This can be any of the CDN i.e., Amazon CloudFront or Akamai.

 

Once you are with a custom CDN, it's much easier to clear/invalidate the cache.

 

https://experienceleague.adobe.com/docs/experience-manager-cloud-service/implementing/content-delive...

 

Thanks!

View solution in original post

5 Replies

Avatar

Community Advisor

Hi @TB3dock - What kind of CDN you are using like CloudFront , Azure CDN ,Akamai ?

Anyway - Login to CDN console -> look for cache invalidation option -> give only the image path to be flushed from cache -> flush the cache -> access the image once and validate the image content.

Avatar

Level 8

The CDN is built into AEM cloud, its fastly, and you dont get a login unfortunately.

Avatar

Employee Advisor

Right now the ability to flush the bundled Fastly cache is not exposed (yet) and you should go via support.

Avatar

Correct answer by
Community Advisor

@TB3dock Yes it's possible and you can do it. Please refer the link here and it will give an idea about how we can use the custom CDN. This can be any of the CDN i.e., Amazon CloudFront or Akamai.

 

Once you are with a custom CDN, it's much easier to clear/invalidate the cache.

 

https://experienceleague.adobe.com/docs/experience-manager-cloud-service/implementing/content-delive...

 

Thanks!