all groups > dotnet jscript > january 2006 >
You're in the

dotnet jscript

group:

Slow window onload on large page


Slow window onload on large page Edge
1/12/2006 8:41:03 AM
dotnet jscript:
I'm not sure this is a scripting problem, but here goes:

We are developing web-based applications that are heavily reliant on
client-side programming, and many of our apps are based on SQL-based data
with many line items. In this particular case, we use AJAX to retreive the
line items, and dynamically populate a <TABLE> with one row per line item,
each of which has several INPUT fields. We've overcome the parsing overhead
by only displaying 20 rows at a time (the rest hidden), but we've found that
when the user navigates away from the screen, the browser hangs for some
time, CPU hits the ceiling, then finally the next page (which is small) gets
displayed. Apparently IE is "unloading" or "unparsing" the objects from
memory. Is there a reason this is slow, and is there any way to speed this
up? I keep thinking of the "lightweight=true" in behaviors, and wonder if
there is a HTML document equivalent.

Thanks,
RE: Slow window onload on large page Edge
1/13/2006 5:04:04 AM
Sorry, the title should read "Slow window onUNload..."

Edge

[quoted text, click to view]
AddThis Social Bookmark Button