Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

AEM DAM Cleanup: Invoke Akamai Cache clear on AEM page publish workflow

Avatar

Level 3

Hi,

I need to implement the Akamai Cache clear on AEM page publish workflow.

Can any one help how to implement akamai.

Iam also tried with below url. but i am not getting full clarity.

 

https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/aem-integration-with-akama...

 

 

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

did you try this solution - https://ravipampana.blogspot.com/2020/06/aem-integration-with-akamai-fast-purge.html 

can you try applying the above solution - with Servlet or Service.

If you are able to get success then apply for page publish event.

If you are getting any error or exception in logs - please give more details.

View solution in original post

3 Replies

Avatar

Correct answer by
Community Advisor

did you try this solution - https://ravipampana.blogspot.com/2020/06/aem-integration-with-akamai-fast-purge.html 

can you try applying the above solution - with Servlet or Service.

If you are able to get success then apply for page publish event.

If you are getting any error or exception in logs - please give more details.

Avatar

Level 3

Hi suresh,

 

Thanks for your reply.

 

I have created workflow step in service. I am planning to add the step into after dispatcher cache is cleared.

After starting implementation in the example code i am facing below issues.

 

1.Not able to achieve  "purgeObject" .

Declared in the class like below mentioned.

 

 JSONArray purgeObjects = null;

 

2.For below line also no idea for me how to define in the class.

 

purgeResponse = akamaiResponseCheck(akamaiResponse);

 

Can you suggest the above mentioned points.