Loading/Displaying large amount of data on webpage.

Posted by jb on Stack Overflow See other posts from Stack Overflow or by jb
Published on 2010-05-12T12:09:07Z Indexed on 2010/05/12 12:14 UTC
Read the original article Hit count: 228

Filed under:
|
|
|
|

I have a webpage which contains a table for displaying a large amount of data (on average from 2,000 to 10,000 rows). This page takes a long time to load/render. Which is understandable.

The problem is, while the page is loading the PCs memory usage skyrockets (500mb on my test system is in use by iexplorer) and the whole PC grinds to a halt until it has finished, which can take a minute or two. IE hangs until it is complete, switching to another running program is the same.

I need to fix this - and ideally i want to accomplish 2 things:

1) Load individual parts of the page seperately. So the page can render initially without the large data table. A loading div will be placed there until it is ready.

2) Dont use up so much memory or local resources while rendering - so at least they can use a different tab/application at the same time.

How would I go about doing both or either of these?

I'm an applications programmer by trade so i am still a little fizzy on the things I can do in a web environment.

Cheers all.

© Stack Overflow or respective owner

Related posts about html

Related posts about ASP.NET