AEM cloud: how to flush CDN cached images? | Community
Skip to main content
Level 8
Sep 27, 2021 3:02 PM UTC
Solved

AEM cloud: how to flush CDN cached images?

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?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Asutosh_Jena_
Asutosh_Jena_Accepted solution
New Participant
Sep 28, 2021 2:52 AM UTC

@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-delivery/cdn.html?lang=en

 

Thanks!

7 replies

joerghoh
Employee
Sep 27, 2021 6:08 PM UTC

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

Translate
TB3dockAuthor
Level 8
Sep 27, 2021 8:01 PM UTC

OK, can we completely disable fastly, and use our own CDN so we can flush it?

Translate
Asutosh_Jena_
Asutosh_Jena_Accepted solution
New Participant
Sep 28, 2021 2:52 AM UTC

@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-delivery/cdn.html?lang=en

 

Thanks!

Translate
Raja-Karuppsamy
New Participant
Sep 27, 2021 5:48 PM UTC

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.

Translate
TB3dockAuthor
Level 8
Sep 27, 2021 8:00 PM UTC

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

Translate