Case Studies

AEM WITH CDN (Content Distribution Network)

Background / Task
We built a Cache Flushing Tool for a Client on top of AEM that can remove cache for top CDN networks. We used 3 CDN networks -Akamai, CloudFront, Cloudflare.

Requirement from the Client was that tool should support all features provided by CDN networks. Client wanted to use replication agent UI for this requirement. Another requirement was to sell product based on customer's requirement and wants to implement a licensing thing as well. i.e. if a customer has only Akamai and wants to purchase this tool only for Akamai than he/she can buy it. Tool should support AEM 5.x and 6.x versions.

Solution

  • We explored all the CDN networks and listed down all the features provided by different CDN networks.
  • We created a custom replication agent newly based on the requirement.
  • We created a solution design for this requirement and got approval from the client.
  • Created custom synchronization types for different CDN networks.
  • Used Polling features of AEM.
  • We also used the Event handler API of AEM.

Finally, we were able to achieve this functionality and got success in crafting this solution.