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

Slow javascript load times

1 Answer 52 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
rh
Top achievements
Rank 1
rh asked on 08 Oct 2009, 04:22 PM
I have a page that is admittedly quite large. It has from 7-9 tabs depending on the settings and the data. I can't use the multipage load on demand because I need the user to be able to switch between tabs quickly because when they are on this screen they are on the phone with a customer and need to fill in data and/or answer questions quickly.

I use telerik controls for pretty much everything. There are many grids and even a editor control. Note that I've disabled the editor control to see if that is the issue and it isn't.

My issue is that once the page is downloaded it takes 10 seconds or so for all the javascript to finish their initialization. I do have some of my own javascript that leverages ASP.NET ajax to load components but my stuff is pretty small so I don't think it is my stuff. I think the issue is that I have so many controls on the page that all need to initialize themselves that it takes a long time.

I figured I'd post my issue here to see if there may be tips and tricks that I can leverage or, if not. to see if we can start a thread to see what can be done to make large pages load the javascript faster.

One thing that I've noticed is that it is orders of magnitude faster in Firefox. In fact, in Firefox it is really a non issue.

1 Answer, 1 is accepted

Sort by
0
Sebastian
Telerik team
answered on 13 Oct 2009, 03:21 PM
Hi rh,

I think that the tips and tricks from the resources below will help you optimize the overall performance as much as possible:

http://www.telerik.com/products/aspnet-ajax/resources/top-performance.aspx
http://www.telerik.com/support/aspnet-ajax.aspx (Section "Performance")
http://www.telerik.com/help/aspnet-ajax/gridoverview.html (Chapter "Performance tips and tricks")

Kind regards,
Sebastian
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.
Tags
Ajax
Asked by
rh
Top achievements
Rank 1
Answers by
Sebastian
Telerik team
Share this question
or