Microsoft Ajax CDN is not working
Hi,
I have a SF 5.0.2523.0 sample site.
When I turn on Enable CDN under Administration\Settings\Advanced\Pages\Script Manager and recycle the website, the installation renders with unusable backend interface.
After researching the problem it seems that out of the box SiteFinity is using a customized version of MicrosoftAjax.js. So when it tries to load the original js version from ajax.aspnetcdn.com, it fails to parse it. The customized version in that SiteFinity uses has changes in the encoded strings for Sys.Res set at the end of the file. More specifically the customized version is using double qoutes instead of single qoute for strings and has some values unicode encoded.
Is there a way to enable the Ajax CDN and still have the backend rendering fine?
Bad news :/ I don't think I've ever been able to get the CDN options in the backend to work...It's gotta be in PITS somewhere though to vote on.
Problem is that Ajax is just not loaded correctly in this case. So it is not only the backend that is affected though it is the most easiest to see. If that is the case I would say CDN is just not supported in this version.
Oh yeah sorry I don't just mean in the backend, I mean SET in the backend options, but yeah, try turning any CDN on (not just the msajax one)...they don't play very nice at all...at least the last time I tried it I think in 4.4.
@Martin,
If I may correct you a tiny bit and expand on the issues...
when enabling the 'CDN' option it does not try to load the original Ajax - but the beta release on which Sitefinity customized on. And that's where trouble starts...
post scriptum
/* START Telerik.Sitefinity.Resources.Scripts.jquery.clickmenu.pack.js */
/* START Telerik.Sitefinity.Web.Scripts.IAsyncCommandReceiver.js */
/* START Telerik.Sitefinity.Web.Scripts.RadGridBinder.js */
/* START Telerik.Sitefinity.Web.Scripts.PromptDialog.js */
/* START Telerik.Sitefinity.Web.UI.Fields.Scripts.IField.js */
/* START Telerik.Sitefinity.Web.UI.Validation.Scripts.Validator.js */
/* START Telerik.Sitefinity.Web.UI.Fields.Scripts.FieldControl.js */
/* START Telerik.Sitefinity.Resources.Scripts.xregexp-min.js */
/* START Telerik.Sitefinity.Resources.Scripts.xregexp-unicode-base.js */
/* START Telerik.Sitefinity.Web.UI.Fields.Scripts.TextField.js */
/* START Telerik.Sitefinity.Web.UI.Fields.Scripts.FieldDisplayMode.js */
/* START Telerik.Sitefinity.Web.UI.ItemLists.Scripts.ItemsList.js */
/* START Telerik.Web.UI.ListView.RadListViewScripts.js */
/* START Telerik.Sitefinity.Web.Scripts.Pager.js */
/* START Telerik.Sitefinity.Web.Scripts.RadListViewBinder.js */
/* START Telerik.Sitefinity.Web.UI.ItemLists.Scripts.ItemsTreeTable.js */
/* START Telerik.Web.UI.TreeView.RadTreeViewScripts.js */
/* START Telerik.Sitefinity.Web.Scripts.RadTreeBinder.js */
/* START Telerik.Sitefinity.Web.Scripts.DecisionScreen.js */
/* START Telerik.Sitefinity.Web.UI.Backend.Elements.Widgets.Scripts.DateFilteringWidget.js */
/* START Telerik.Sitefinity.Resources.Scripts.jquery-ui-1.8.8.custom.min.js */
/* * jQuery UI 1.8.8
/* * jQuery UI Widget 1.8.8
/* * jQuery UI Mouse 1.8.8
/* * jQuery UI Position 1.8.8
/* * jQuery UI Draggable 1.8.8
/* * jQuery UI Droppable 1.8.8
/* * jQuery UI Resizable 1.8.8
/* * jQuery UI Selectable 1.8.8
/* * jQuery UI Sortable 1.8.8
/* * jQuery UI Accordion 1.8.8
/* * jQuery UI Autocomplete 1.8.8
/* * jQuery UI Button 1.8.8
/* * jQuery UI Dialog 1.8.8
/* * jQuery UI Slider 1.8.8
/* * jQuery UI Tabs 1.8.8
/* * jQuery UI Datepicker 1.8.8
/* * jQuery UI Progressbar 1.8.8
/* * jQuery UI Effects 1.8.8
/* * jQuery UI Effects Blind 1.8.8
/* * jQuery UI Effects Bounce 1.8.8
/* * jQuery UI Effects Clip 1.8.8
/* * jQuery UI Effects Drop 1.8.8
/* * jQuery UI Effects Explode 1.8.8
/* * jQuery UI Effects Fade 1.8.8
/* * jQuery UI Effects Fold 1.8.8
/* * jQuery UI Effects Highlight 1.8.8
/* * jQuery UI Effects Pulsate 1.8.8
/* * jQuery UI Effects Scale 1.8.8
/* * jQuery UI Effects Shake 1.8.8
/* * jQuery UI Effects Slide 1.8.8
/* * jQuery UI Effects Transfer 1.8.8
/* END Telerik.Sitefinity.Resources.Scripts.jquery-ui-1.8.8.custom.min.js */
/* START Telerik.Sitefinity.Resources.Scripts.jquery-ui-timepicker-addon.js */
/* * jQuery timepicker addon
/* END Telerik.Sitefinity.Resources.Scripts.jquery-ui-timepicker-addon.js */
/* START Telerik.Sitefinity.Web.Scripts.UserPreferences.js */
Just wanted to write that this post helped me getting my back-end running again.
http://www.sitefinity.com/devnet/forums/sitefinity/bugs-issues/backend-pages-and-cdn.aspx
Realy was a site saver that post.