I have setup CDN locally, however there are duplicate scriptresources.axd getting downloaded.
Below is the web config setting.
<add key="Telerik.Menu.EnableEmbeddedScripts" value="false"/>
<add key="Telerik.ScriptManager.TelerikCdn" value="Enabled" />
<add key="Telerik.StyleSheetManager.TelerikCdn" value="Enabled" />
<add key="Telerik.ScriptManager.TelerikCdn.BaseUrl" value="http://IP:Port/Scripts/ " />
<add key="Telerik.ScriptManager.TelerikCdn.BaseSecureUrl" value="https://IP:Port/Scripts/" />
Also attached fiddler and screen shots. By enabling CDN settings I would expect only JS files to be downloaded over scriptresource.axd files.
Please provide clarity.
Telerik Version - 2012.1.411
Thanks
Gokul
6 Answers, 1 is accepted
Please review the following help article how the scripts are loaded - the Telerik's and MS ajax ones. For your case the ajax scripts are not loaded from the CDN.
Regards,
Peter Filipov
Telerik
Hi Peter,
I have setup CDN locally and it works just fine when telerik radscriptmanager isn't added.
But, as I said there are duplicate AXD files getting downloaded.
When CDN is enabled why is there an AXD file getting downloaded, and if I try opening the AXD file it refers to telerik namespace.
We are trying to solve some of the performance issues in the application, fixing this issue will provide us a good response time.
Thanks
Gokul
Could you please provide me a runnable sample project which I could observe locally and investigate what are the loaded by the resource handler scripts.
Regards,
Peter Filipov
Telerik
No, I'm not in a position to share the code. Solution has more than 100 projects.
Is there any other way you can help me to troubleshoot the issue?
When I enable the CDN, I should not see any AXD's getting downloaded. Is my expectation correct?
The Ajax framework scripts should be loaded from separate CDN. Please review the article that I have pointed in my previous posts. In case that you want to load the styles from the CDN you will need to use the styles sheet manager and enable the CDN setting.
Regards,
Peter Filipov
Telerik