PDA

View Full Version : Load time



sdor
22 Oct 2007, 12:06 PM
I'm changing over from prototype/scriptaculous and I really like the ext setup. My problem is and has anyone else noticed this... that the load time is a bit long. I realize that the development files are separate js files which require multiple calls to the server. I guess in scriptaculous there are fewer files because Effects, Controls, etc. contain multiple methods. It's an illusion because I know the speed test for ext are faster than the other libraries. I'm curious as to what others are doing... load the core and the create custom js files with multiple functions you need for that page? Any problems with that?

SeaSharp
22 Oct 2007, 1:20 PM
I realize that the development files are separate js files which require multiple calls to the server.
Have you noticed ext-all.css, ext-base.js and ext-all-debug.js? These are the only 3 [Edit: Ext library] includes required for a page in development mode.

As components are rendered other small styling images will be fetched from the server but these would typically have cache expiry header directives set in a production environment. Does it take more than a second to render an initial Ext page on your Dev PC with a local (same machine) web server? It is sub second on my machine.

sdor
22 Oct 2007, 1:50 PM
I agree with you... it's a sub second. I grabbed the beta2.0 and started working with the portal js. It's more that just those 3 files you quoted, so that must be it. Thanks for the info, I should have been more specific about what I was working with. I jumped to some wrong conclusions.