Allow Profile Domains for Azure Frond Door Endpoint

Created on 30 April 2025, 2 months ago

Problem/Motivation

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.

Steps to reproduce

  1. Configure Purging to use an Azure Front Door Endpoint
  2. Add multiple domains to your Azure Front Door Profile
  3. Observe you paths are multiplied by each domain in the profile causing azure to return an error
{
    "error": {
        "code": "BadRequest",
        "message": "We can only accept 100 paths for purging concurrently. Please try again in a few minutes."
    }
}

Proposed resolution

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...

✨ Feature request
Status

Active

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States roragok

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024