CDN Generating Duplicates

7 posts, 0 answers
  1. Gokul
    Gokul avatar
    5 posts
    Member since:
    Feb 2015

    Posted 11 May 2015 Link to this post

    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

  2. Peter Filipov
    Admin
    Peter Filipov avatar
    1028 posts

    Posted 14 May 2015 Link to this post

    Hello Gokul,

    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
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Gokul
    Gokul avatar
    5 posts
    Member since:
    Feb 2015

    Posted 19 May 2015 in reply to Peter Filipov Link to this post

    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

     

  5. Gokul
    Gokul avatar
    5 posts
    Member since:
    Feb 2015

    Posted 19 May 2015 in reply to Gokul Link to this post

    CORRECTION - I have setup CDN locally and it works just fine when telerik radscriptmanager is added.
  6. Peter Filipov
    Admin
    Peter Filipov avatar
    1028 posts

    Posted 19 May 2015 Link to this post

    Hi 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
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  7. Gokul
    Gokul avatar
    5 posts
    Member since:
    Feb 2015

    Posted 19 May 2015 in reply to Peter Filipov Link to this post

    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?

  8. Peter Filipov
    Admin
    Peter Filipov avatar
    1028 posts

    Posted 20 May 2015 Link to this post

    Hello Gokul,

    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
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017