How can we improve Azure CDN?

Make full purge and wildcard purge for AKAMAI CDN

There is no way I can purge AKAMAI CDN endpoint fully or with wildcard which is best fit for our project.

110 votes
Sign in
Sign in with: Microsoft
Signed in as (Sign out)
You have left! (?) (thinking…)
Anonymous shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →


Sign in
Sign in with: Microsoft
Signed in as (Sign out)
  • Ano commented  ·   ·  Flag as inappropriate

    Any news on this?
    And is there is way to speed up an Azure Power Shell script (based on directory content)? The purge of only ten files is now taking quite a while already.

    txtOutput.Text = "Login-AzureRmAccount; ";
    string[] f = Directory.GetFiles(txtPurge.Text, "*.js", SearchOption.AllDirectories);
    foreach (var file in f)
    txtOutput.Text += "Unpublish-AzureRmCdnEndpointContent -ResourceGroupName “Default-Web-WestEurope” -ProfileName “SterAdCDN” -EndpointName “SterAdCDN” -PurgeContent “/script/"+ Path.GetFileName(file) + "”; ";
    txtOutput.Text = txtOutput.Text.TrimEnd(new char[] {' '} ).TrimEnd(new char[] { ';' });

  • Maxim commented  ·   ·  Flag as inappropriate

    Yes, there should be an option to purge JUST ONE FILE, or JUST ONE DIRECTORY. :)

Feedback and Knowledge Base