This is a migrated thread and some comments may be shown as answers.

Radcompression options

4 Answers 125 Views
Compression
This is a migrated thread and some comments may be shown as answers.
David Penny
Top achievements
Rank 2
David Penny asked on 11 Feb 2010, 10:33 AM
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

4 Answers, 1 is accepted

Sort by
0
sitefinitysteve
Top achievements
Rank 2
Iron
Veteran
answered on 12 Feb 2010, 12:55 AM
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/
0
David Penny
Top achievements
Rank 2
answered on 12 Feb 2010, 09:00 AM
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
0
David Penny
Top achievements
Rank 2
answered on 12 Feb 2010, 09:07 AM
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
0
sitefinitysteve
Top achievements
Rank 2
Iron
Veteran
answered on 12 Feb 2010, 12:28 PM
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


Tags
Compression
Asked by
David Penny
Top achievements
Rank 2
Answers by
sitefinitysteve
Top achievements
Rank 2
Iron
Veteran
David Penny
Top achievements
Rank 2
Share this question
or