Test Azure CDN Rule Engine before sending for approval
At this moment, you cann't test Azure CDN Rule Engine before sending for approval, approval of new Rules takes up to 4 hours. Which make things very difficult.
Rule approval is currently automatic with no delay. We will follow up on having the 4 hour approval message you see in the CDN supplemental portal updated to remove this confusion. While approval is automatic it can currently take 90 minutes for updates to propagate to all CDN POPs. Work is under way to significantly reduce this to a much lower value in the next few months.
Looks like Microsoft is prioritising on Azure front door. So I don't think we would expect any improvement on this. I have been dealing with stressful URL redirects using regex for about a week and lots of time wasted waiting for the rules to be approved then find it isn't working and have to change the regex again. Some of the things learning from trial and error. And this is not a service that trial and error would work for you. I would say rather use other services.
Zeke Victor commented
Couple of my rules got updated within minutes, but now I have one that has been stuck for almost 24 hours! This is a really horrible quality of service that makes me consider using competitors, of which there are many.
2,5 years later - still nothing. I wait already 8 hours and is still pending... Feel like programming in 90s
Sadiq Khoja commented
what is the current status CDN rule engine, I still see the 4 hour message.
Niederlag, Peter (extern) commented
it is quite painful, indeed :-<
any updates on this it has been more than a year
I would second the original post. It would be great if a simulator is provided to test the rule output in a contained environment instead of having it pushed to all the pop servers and wait until it is complete to try out. Evaluating complex regex expressions at the moment for url rewrite rules for example is extremely painful. I would like to see an option to publish the rules to all the pops otherwise it acts as a test bed serving from a single location. This would greatly help contain the loopback time and enhance the dev experience.
Simon Luckenuik commented
According to this issue, the approval is still a manual process: https://github.com/MicrosoftDocs/azure-docs/issues/13983#issuecomment-416395573
Yesterday, I posted updated a rule against a Verizon Premium CDN that took over 8 hours to be approved.
The rule tester UI would enable us to test the rules prior submitting it. It could be something very simple, enter a URL + Request Headers, run the rules and provide the returned response headers and destimation of the request in the Source.
Currently, to figure out if something I want to do would work as expected, I have to figure out the rule syntax, add it, wait between 10 minutes and 8 hours, test to see if it works, repeat if not working. A real pain.