Reputation: 2044
I have a web role with 2 web application on it.( one is web application the other is wcf application). The static content in the web application is from azure cdn. I put my static content under cdn directory and on the html i refer to the cdn endpoint. my problem is that sometime see that the entire static content not getting from the cdn.and the entire web page is without css/images/javascript files and after 5-10 minutes everything up again.
Has anyone see this kind of behavior? - i always check the status in Microsoft web site and every time i see that the cdn is working properly.
How does the cdn react with 2 web role on the same instance. maybe that's what causing the problem that it switch back and forth?
thanks allot
Upvotes: 0
Views: 451
Reputation: 20556
If your static content is not changing frequently, I would suggest you to setup higher Cache limit may be for an year and this will help you to load content faster. The link below explain more on how to do it:
[More info]
IF you have random issues with your Windows Azure CDN cache, it is suggested to contact Windows Azure Support Team and discuss this problem. They will dig deeper to look for the root cause. The above info is very less to determine the actual root cause.
Upvotes: 1