Purge Azure Front Door Cache in Azure Devops Post Deployment Step

Jason 6 Reputation points
2020-07-22T21:32:37.133+00:00

Is there a way I can root purge the cache of Azure front door, as part of a post deployment step in Azure Devops?

Azure Front Door
Azure Front Door
An Azure service that provides a cloud content delivery network with threat protection.
692 questions
{count} vote

1 answer

Sort by: Most helpful
  1. GitaraniSharma-MSFT 49,581 Reputation points Microsoft Employee
    2020-08-12T07:45:03.363+00:00

    Hello @Jason ,

    Sorry for the delay in response.

    Root purge of the AFD cache can be done via an API POST call using purge /*. This is mentioned in the documentation here: https://learn.microsoft.com/en-us/azure/frontdoor/front-door-caching#cache-purge

    Please refer : https://learn.microsoft.com/en-us/rest/api/frontdoorservice/frontdoor/endpoints/purgecontent

    Kindly let us know if you need any further assistance on this issue from our end.

    ----------------------------------------------------------------------------------------------------------------

    Please don’t forget to "Accept the answer" wherever the information provided helps you, this can be beneficial to other community members.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.