Completed
Last Updated: 04 Oct 2017 12:45 by ADMIN
ADMIN
Telerik Admin
Created on: 04 Sep 2012 13:24
Category: UI for ASP.NET AJAX
Type: Feature Request
23
ADD CDN fallback to local support added to RadScriptManager/RadStyleSheetManager
Update from 4 Oct 2017: You can find a sample implementation of a CDN fallback in the following code library project: http://www.telerik.com/support/code-library/cdn-fallback



You can try implementing a fallback similar to the approach from the links below, but check for the window.$telerik variable and initiate a postback to change the web.config or the concrete page's properties to avoid the CDN.

You can find a sample implementation attached below.

- http://www.hanselman.com/blog/CDNsFailButYourScriptsDontHaveToFallbackFromCDNToLocalJQuery.aspx
- http://docs.telerik.com/kendo-ui/intro/installation/cdn-service#refer-kendo-ui-from-cdn-with-local-script-fallbacks

Alternatively, use a custom CDN of your choice that will be better for your case/have better uptime than Amazon CloudFront: http://docs.telerik.com/devtools/aspnet-ajax/controls/scriptmanager/cdn-support/custom-cdn-provider
0 comments