Hi Miguiel,

On Sat, Jan 9, 2010 at 3:46 PM, Miguiel Manso <mma...@gmail.com> wrote:
> I've created the "Hello World" application to start testing it and
> understanding some of the concepts around it and I've noticed that everytime
> I "reload" the page to do some testing Firefox loads DOZENS of "js" files
> taking almost 30 ou 40 seconds to load the page.
>
> I've also noticed that after I "build" the application this problem doesn't
> happen. Since these kind of applications rely a lot on "reloads" to test the
> code is there any trick to make the "source" project load faster? Something
> like load only the components it needs for the code being used or something?


The source version is what you would work with while you're doing
development, and the build version is the 'compiled' version that
you'd use in production, and as you say should load substantially
faster, especially across the Internet.

Both the source and build versions will include just the code that's
needed, so that's already been thought of.

I'm surprised you say it takes 30 to 40 seconds to load the source
version... about 15 seconds is what I find (even for my project with
365 classes). One useful tip though is not to "reload" the page as
that will reread every file... instead just hit Enter in the address
bar and you should find it loads a bit quicker (i.e. 5-10 seconds for
me, instead of 15). [Beware that if there's a syntax error, or you do
a generate source, you'll need to do a reload]

Nick

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to