- Issue created by @roragok
When using the Azure Front Door endpoint, it submits all cache invalidation requests to every domain in the Azure Front Door profile. What this means is each path you submit for invalidation is run against each domain in the profile. So if the invalidation submits 10 paths, and you have 20 domains in your profile. The request is for Azure is actually 200 requests which exceeds Azures limit of 100.
{
"error": {
"code": "BadRequest",
"message": "We can only accept 100 paths for purging concurrently. Please try again in a few minutes."
}
}
Add an option to allow domains to be captured and submit the invalidation request only against those domains in the profile. Domains is a valid option according to Front Door documentation, it is not on the CDN documentation.
https://learn.microsoft.com/en-us/rest/api/frontdoor/azurefrontdoorstand...
Active
1.0
Code