how to implement automated akaimai cache clearing process on replication/publishing a page/multiple pages for multi-domain environment setup in AMS(6.5.x)
we support multi-domain web sites in the project and trying to create a automated process to clear the cache from akamai when a page published/replicated. we have AMS environment with AEM 6.5.x and will be using Akamai purge rest api. what are the steps we do on the AEM side. I was trying to follow this approach
""create an event handler and listen to replication type and send the post request to akamai purge rest api""
with this process I see some concerns as below
a. how do I find out the domain names for the pages to send it to akaimai api
b. whenever we publish a page with assets as part of it, it will trigger multiple requests to akamai. I wanted to make it as single request to the page specific resource to clear the cache.
c. will this supports the tree activation? if yes, will the akamai servers can handle multiple requests.
d. do we need to add the logic to configure proxy in the code
