AEMaaCS / EDS - Making cdn.yaml configs scalable
Hi AEM/EDS experts,
We are in the process of migrating AEM pages to the EDS gradually. Until then, we would like to redirect requests either to AEM or EDS at the CDN level using cdn.config based on the URL pattern & it works perfect !
However, the cdn.yaml is growing huge as the "matches" pages keep adding. Is there any smart way of handling this problem ? I would have created the cdn.yaml programmatically reading from a list of paths stored somewhere, but I can't do it with the Cloud as the location of cdn.yaml is unknown OR I can't do it vice-versa because I can't really write my program to fetch paths from somewhere.
Pls let me know what you think!
Attached, a sample cdn yaml in doc format (as yamls aren't allowed for upload here.) for your reference to check "matches". This is not from the project. Just a default sample one.
Thanks!