Radcompression options

5 posts, 0 answers
  1. David Penny
    David Penny avatar
    174 posts
    Member since:
    Jun 2006

    Posted 11 Feb 2010 Link to this post

    Hi,

    I have a page which contains a RadMenu, RadGrid and RadScheduler and is taking a pretty big hit when being loaded - something close to 500 KBytes on first display so am trying RadCompression to improve this.  I have followed the information in the link below:


    but have a question about the options in the browsers section.  Are the Hidden field method and session state method exclusive, or could I add both section to the browsers file?  My problem is that using the hidden field method I'm still taking a fairly large hit of 256 K in the javascript on first load in the hidden field.  

    If I remove that and use session state, the Javascript obviously still has to be downloaded.  Also doing some testing the session state method does not seem to have much impact at all on the bytes sent to the client.

    Finally, because my Clients have a pretty slow intranet they are complaining of crashes and other problems when large pages are loading, and they are using IE6 and I'm not sure whether that benefits from RadCompression or not as googling around seems to indicate that compression does not work on IE6.

    What would be the best recommendation in this circumstance, ie:

    Very slow Intranet
    IE6 as the browser and unwilling or unable to change

    Sorry if this post is messy, but I'm getting a lot of pressure to speed up my application, and they do actually like the look of it so I do not want to strip out the Telerik controls.

    David Penny
  2. Steve
    Steve avatar
    1851 posts
    Member since:
    Dec 2008

    Posted 11 Feb 2010 Link to this post

    What about enabling the CDN and loading Ajax from microsoft instead of inside the telerik.web.ui?

    You'll get more files coming from the CDN, but they're all small and supercached...

        <telerik:RadScriptManager runat="server" CdnSettings-TelerikCdn="Enabled"> 
        <Scripts> 
            <asp:ScriptReference Assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" 
                                 Name="MicrosoftAjax.js" 
                                 Path="http://ajax.microsoft.com/ajax/3.5/MicrosoftAjax.js" /> 
        </Scripts> 
        </telerik:RadScriptManager> 

    http://blogs.telerik.com/blogs/posts/09-12-08/cdn_support_ndash_radcontrols_for_asp_net_ajax.aspx

    How big is the viewstate in all of that?
    http://www.binaryfortress.com/aspnet-viewstate-helper/
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. David Penny
    David Penny avatar
    174 posts
    Member since:
    Jun 2006

    Posted 12 Feb 2010 Link to this post

    Hi Steve,

    I should have said in the original post that I'm using .Net 2.0, so the CDN would not make any difference.  Also, I'm getting complaints from people running on their Intranet as well (in fact, mostly from them) - but they are LARGE Intranets.

    David Penny
  5. David Penny
    David Penny avatar
    174 posts
    Member since:
    Jun 2006

    Posted 12 Feb 2010 Link to this post

    Steve,

    By the way, just tried that toolkit you suggested and the Page size is 86,576 bytes (this is compressed) and the Viewstate is only 732 bytes.

    The hit appears to be all the other stuff around the pages, in particular the RadAjax stuff that is over 256K on initial load on my main page and about half that on some of the subsequent pages.

    David Penny
  6. Steve
    Steve avatar
    1851 posts
    Member since:
    Dec 2008

    Posted 12 Feb 2010 Link to this post

    Well I guess the viewstate handlers are working then :)

    CDN support appears to be available on 2.0
    http://www.telerik.com/help/aspnet-ajax/radscriptmanager-cdn-support.html


Back to Top
UI for ASP.NET Ajax is Ready for VS 2017