View Full Version : My application is very slow, 1 minute

26 Jun 2010, 9:30 AM
I'm with one application and is very slow loading, remove all autoload, but no change so ext 3.0.3 to 3.2.2 (finally I could buy it) and nothing and also that tree aborts the load-load.
Any ideas

thanks in advance

26 Jun 2010, 10:28 AM
What does YSlow advise you?

26 Jun 2010, 3:20 PM
What does YSlow advise you?

YSlow, stops every few minutes on the line 518 or 529 util.js,
The application is in the link posted

usr: sencha
pass: sencha

thanks in advance

PD:In chrome takes 28 sec

26 Jun 2010, 10:54 PM
There's some mad overnesting going on.

That table of buttons is a table layout. Fair enough, you want a table. But it's nested inside a single celled table layout!

The west Panel is overnested too.

And you are instantiating 29 Panels to put into content-panel.

And I looked at one of them, sicapror1.js. And it's very heavy. It's doing a LOT. Why do all that up front? Why not have that as a class, and only instantiate it and add it to center-panel if it is needed?

And what the....????

handler : function() {
javascript:window.open('dataQueryHistoricoRVIIxls.php', 'popup' ,'width=800 ,height=600 ');

Why would you just put "javascript:" in your source code?

And why would you annoy the hell out of users by using window.open?

Ant still. Use YSlow. You must not use so many JS files in a live system. They must be concatenated once you have finished the debugging stage (Which you have not, but that's the principle).