microsoft-cdn

How do I force Azure CDN content to be purged or invalidated?

天大地大妈咪最大 提交于 2019-12-18 21:54:25
问题 I have content that rarely changes that I want to serve over the Azure CDN for performance reasons. When the content does change, though, it's important that the updated data is immediately available. Ideally, I'd be able to set a long TTL but then proactively tell the CDN to expire content when I update it. How can I accomplish this? There is no cache invalidation or purge API right now, and I would rather not set a short TTL. 回答1: In 2015 December the Azure team added the ability to refresh

Uncaught TypeError: Cannot set property 'unobtrusive' of undefined

那年仲夏 提交于 2019-12-17 18:34:04
问题 I am getting this error in the Chrome JScript debugger. It happened when I switched to the Microsoft CDNs for the scripts below. I'm not sure how to work around this save, not using the CDNs anymore. jquery.validate.unobtrusive.min.js:5 Uncaught TypeError: Cannot set property 'unobtrusive' of undefined <link href="http://ajax.aspnetcdn.com/ajax/jquery.ui/1.8.16/themes/start/jquery-ui.css" rel='stylesheet' type='text/css'> <script src="http://ajax.aspnetcdn.com/ajax/jQuery/jquery-1.6.4.min.js"

Best performance for storing static files (images, css, javascript) - CDN - BlobStorage or WebRole

走远了吗. 提交于 2019-12-13 12:29:33
问题 I have a very basic question about CDN - BlobStorage and WebRole, and perfrormance. I have a very simple web site with static content, HTML, Js, Images, CSS & videos (totally could me max 3-5MB the whole content if the users visit all the site). The traffic of my web site will be 98% from UK and I am planning to have a maximum of 500.000 unique visitors per day. My question is about performance. Would you recommend me enabling CDN on my webrole? Would I benefit from it? is there a benefit

Azure CDN file download statistics

那年仲夏 提交于 2019-12-12 03:16:37
问题 How do I see file download statistics with Azure CDN and/or get statistics using a .NET program? I want to put a file in Azure CDN and see how many times the file was downloaded, more details like country of downloaders etc would be nice too. 回答1: I don't think there is currently such statistics available. All you can see is the number CDN transactions and CDN bandwidth consumed. You can see this in the monthly bill (in billing history). 回答2: Try to use "manage cdn" button on the portal and

ScriptManager EnableCdn - does not work on SSL

白昼怎懂夜的黑 提交于 2019-12-04 04:26:24
问题 I am trying to user EnableCdn property in ScriptManager. Basically I have this piece of code in my master page file: <asp:ScriptManager ID="MainScriptManager" runat="server" EnablePartialRendering="true" EnableScriptGlobalization="true" EnableScriptLocalization="true" AsyncPostBackTimeout="3600" EnableCdn="True"> This works on the dev environment where we connect via HTTP - it references to such script: <script src="http://ajax.aspnetcdn.com/ajax/4.5/5/WebForms.js" type="text/javascript"><

How do I force Azure CDN content to be purged or invalidated?

会有一股神秘感。 提交于 2019-11-30 19:16:57
I have content that rarely changes that I want to serve over the Azure CDN for performance reasons. When the content does change, though, it's important that the updated data is immediately available. Ideally, I'd be able to set a long TTL but then proactively tell the CDN to expire content when I update it. How can I accomplish this? There is no cache invalidation or purge API right now, and I would rather not set a short TTL. In 2015 December the Azure team added the ability to refresh or purge the CDN via REST API ( https://msdn.microsoft.com/en-us/library/mt634451.aspx ). In the beginning,

Uncaught TypeError: Cannot set property 'unobtrusive' of undefined

旧街凉风 提交于 2019-11-28 08:01:50
I am getting this error in the Chrome JScript debugger. It happened when I switched to the Microsoft CDNs for the scripts below. I'm not sure how to work around this save, not using the CDNs anymore. jquery.validate.unobtrusive.min.js:5 Uncaught TypeError: Cannot set property 'unobtrusive' of undefined <link href="http://ajax.aspnetcdn.com/ajax/jquery.ui/1.8.16/themes/start/jquery-ui.css" rel='stylesheet' type='text/css'> <script src="http://ajax.aspnetcdn.com/ajax/jQuery/jquery-1.6.4.min.js"></script> <script src="http://ajax.aspnetcdn.com/ajax/modernizr/modernizr-1.7-development-only.js"><