Problem With Azure CDN Cache configuration

138 views Asked by At

I'm trying to create an azure CDN for azure app service to get a better perfomance, however I need ensure to the final user that the latest version of my blazor web app is not displayed in the browser, for this I set up the Rules Engine for the CDN of different ways but when I deploy the service, I need delete the browser cache or I can not see the latest version.

I made several configurations but nothing works fine, currently I have the next configuration according to this documentation:

Azure CDN Global configuration

Aditional I ran the next command after deployment to purge the cdn content but it doesn't works too

az cdn endpoint purge -g resource-group-name -n cdnName --profile-name ProfileCDNName --content-paths '/*'

Which Configuration should work to ensure that the cdn display the current version of the blazor app?

0

There are 0 answers