Azure storage and CDN problem RRS feed

  • Question

  • Hello,

    I have problem with caching in CDN for Azure Storage. I have set up storage, add CDN on it, and put custom domain.

    And all works fine, until recently, when one image I uploaded, get stuck on CDN. When I'm getting to it without CDN all works fine, but over CDN it always shown old image. I tried everything, I put custom cache expiration, I deleted, I moved it... But nothing works. And I waited for one day, maybe will fix by Auzura automatically, or some caching will expiry, but nothing.

    Does anybody had similar problem before? How to fix it?

    All other images (blobs) in same container works fine.

    Thursday, September 25, 2014 6:20 AM


  • Hi lobuljen,

    Thanks for your posting!

    Base on my experience, an object is in Azure CDN caching during their time-to-live (TTL) period. And then the object is refreshed from the cloud service after that time is elapsed. If you do not provide cache values, the TTL of an object is 7 days. So if we want to change the CDN content, we need set the cacheControlMaxAge. If you use the blob, you may need set the Cache-Control header on the blob to specify your desired refresh interval (http://msdn.microsoft.com/en-us/library/gg680306.aspx). When we change the blob content, we need wait some hours to see the new content. Because the network(CDN) need time to delivery the new content and change the each node caching content.

    A good resource about how to manage CDN, please refer to:




    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Friday, September 26, 2014 2:23 AM