Azure CDN not accepting querystring param for Imageresizer plugin in C#

200 Views Asked by At

I have below URL,

https://abc.azureedge.net/stays/img/bg-map1400.jpg?width=500 and its gives image width 500 but this same image calling from azure CDN then is not work

https://abcCDN.azureedge.net/stays/img/bg-map1400.jpg?width=500

its gives me original image only.

1

There are 1 best solutions below

18
Sadiq Khoja On

You need to change the caching rule in your CDN profile to 'Cache every unique URL'.

https://learn.microsoft.com/en-us/azure/cdn/cdn-query-string