问题
I are working on a implementation of ExtJs that I think is larger than its makers expected. Our pages instantiate over a 1000 ExtJs components.
This first issue is that, most of the time, a single page load is taking 20-30 seconds to return; during that time the browser displays a spinny wheel indicating that some resource is being used. Except that we are monitoring ram, hard drive, processor and network usage, and none of them are taxed. The server has completed it's request, so the delay is clearly being caused by ExtJs.
The second issue is that after a few clicks, Firefox displays a "slow script" error, Chrome displays a "Kill Page" error, and Safari simply crashes.
Again, RAM, Hard Drive, Network and Processor are all barely being used, yet the browser is unable to handle creating the ExtJs components.
Can anyone point me in the right direction towards load balancing ExtJs so that the browser is not so unhappy?
来源:https://stackoverflow.com/questions/10772608/why-does-a-large-enterprise-level-implementation-of-extjs-crash-every-browser