DOMContentLoaded now the onload event for Dojo
Submitted by ttrenka on Mon, 08/21/2006 - 20:42.
This last weekend I finally implemented Dean Edwards' DOMContentLoaded (with Matthias Miller and John Resig) solution for the dojo.addOnLoad event, as opposed to using the window.onload event to fire all initialization...and so far (with the exception of some minor side effects, notably with widgets that use images for layout) it is working very well--and the bottleneck of initial load performance (you know, where the page seems to take forever to load) has been markedly improved.
It's almost like night and day, in some respects.
Please feel free to try it out by grabbing the latest SVN head, and letting us know what you think!
- ttrenka's blog
- Login or register to post comments
- Unsubscribe blog
- Unsubscribe post

Yes, it will. There may be
Really, really cool Tom. I
[...] The startup time of
...and when is 0.4 due?
0.4 is due in mid-late
Thanx Dylan. Couldn't find