> But why when you load source version the final size is smaller?

No, it's not.

If you load the source version and then run it under a Javascript debugger like 
Firebug you will see hundreds of script files are being loaded. They add up to 
a much bigger bunch of Javascript compared to the built version.

512k is small for the amount of functionality you get. And consider that it 
will be cached by the browser and so won't get sent each time the user goes to 
the page.

An important tweak, if your server supports it, is to compress the script file 
using gz. We have a custom server here, and if it finds myfile.js.gz in the 
folder, and the browser says that it can cope with compressed scripts, it sends 
the .gz file. IE7 and FF2 can cope, and the compressed script is 20% of the 
size of the uncompressed script. That's a huge improvement.

In fact I don't know why the qooxdoo team don't do this with all their scripts 
as it would make a significant improvement to the initial perception of their 
library.

Hugh

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
qooxdoo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to