Performance Problems in Live Service

4 posts, 0 answers
  1. ADe
    ADe avatar
    42 posts
    Member since:
    Jul 2008

    Posted 10 Nov 2009 Link to this post

    We are finding that the following Url is loading on every page in our live service and it is almost 1MB each time. I believe this is possibly the RadScriptManager,

    Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=radScriptManager_HiddenField&compress=1&_TSM_CombinedScripts_=%3b%3bSystem.Web.Extensions%2c+Version%3d3.5.0.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d31bf3856ad364e35%3aen-GB%3a3bbfe379-348b-450d-86a7-bb22e53c1978%3aea597d4b%3ab25378d2%3bTelerik.Web.UI%2c+Version%3d2008.3.1314.35%2c+Culture%3dneutral%2c+PublicKeyToken%3d121fae78165ba3d4%3aen-GB%3aef502ffb-86f7-4d96-ad3a-fbb934d602ab%3a16e4e7cd%3a86526ba7%3aed16cbdc%3a11a04f7e%3a19620875%3ae330518b%3a1e771326%3ac8618e41%3ae4f8f289%3aaa288e2d%3a4cacbc31%3af7645509%3ae524c98b%3a3f6e8f3f%3a874f8ea2%3a39040b5c%3a33108d14

    I include the following in our Master Page,
    <telerik:RadScriptManager ID="radScriptManager" runat="server"  AsyncPostBackTimeout="3600"></telerik:RadScriptManager> 

    Can anyone confirm this is the case and does anyone have a solution on how to prevent this problem?

    I would have expected this to cache but the GUIDs must be changing in the query string causing it to download afresh each time.

    We are considering adding GZIP to our ISA server but this causes issues with other services we provide so this a far from ideal.

    Please help,
    Kind regards
    ADe
  2. Veselin Vasilev
    Admin
    Veselin Vasilev avatar
    2992 posts

    Posted 13 Nov 2009 Link to this post

    Hi ADe,

    It seems RadScriptManager tries to compress the combined output (compress=1 in the url) but for some reason it is not successful (may the ISA Server strip the Accept Encoding http headers?).

    Also, you are using an older version which probably suffers from this problem.

    By default RadScriptManager combines the embedded javascript files into one big file and compresses it. This happens for every page where the RadScriptManager is used and is not always the best solution. We have some ideas on how to give you better control on what gets combined, but for the moment you'll have to do this manually.
    Here is a little tool that will help you with this task.
    In the attached web site you'll find a ScriptResourceDetector.aspx page. Place all of the controls that you use on your site in the panel on the page. Upon loading this page you'll see a list of the scripts used on the page that you should directly paste in the Scripts section of the RadScriptManager.

    Ideally, RadScriptManager will be placed in a master page, so you don't have to replicate this list across all pages. It'll then serve the same script on all of them, as long as the pages use a subset of the controls that you've used to build the list of scripts.

    This way that big script will be loaded only once and then its cached version will be used.



    Sincerely yours,
    Veselin Vasilev
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. ADe
    ADe avatar
    42 posts
    Member since:
    Jul 2008

    Posted 18 Nov 2009 Link to this post

    Thanks for the response. It does appear that compression is done correctly by the ScriptManager but ISA is uncompressing before passing back to the client.

    I've handed the issue over to our ISA team but am also considering your recommendations.

    Thanks again,
    ADe
  5. Paul
    Admin
    Paul avatar
    4281 posts

    Posted 20 Nov 2009 Link to this post

    Hello ADe,

    I'm afraid we are not quite familiar with ISA and we don't want to give any suggestion as they might be misleading.

    Kind regards,
    Paul
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Back to Top