Unanswered: How to optimise Sench 2 applicaiton load time
Unanswered: How to optimise Sench 2 applicaiton load time
Hi All, I would like to know how can I accelerate loading time of sencha 2 application, and why during initialization it loads tons of classes I do not intend to use? Can I optimize that, skip classes I wont use?
If you use sencha-touch.js that is the basic framework without any widgets. In your class you should use the requires property and that will load the classes in the requires property
My applicaiton layout is
common/ - for common stuff (common/js/sencha/src) all sencha sources
app/ - for application files
Why switching from sencha-touch-debug.js to sencha-touch.js changing lookup directory? Why class loader looking for classes in application directory???!!!!
I've got app-all.js of 1.3mb !!! Is this kinda size all right? But not size bothering me, generated file was actually incomplete, despite fact it said "Done Building" without errors. As I understand all file entries from jsb3 file should end up in app_all.js. It actually stopped somewhere at the middle right after Ext.Container with still many classes to go.... hm ?
Newer mind, I've used wrong version of tools. As I understand I cannot use release version you have available and because I'm on windows I cant try 2.0.0 dev preview
I see that sencha tool just concatenates js SDK files togather then all my js classes into oe humongous file....
but why would I use just sencha-touch-all.js and my other five class files separately in order to accelerate application initialization time, that still will be great benefit versus class loader managing stuff!?
Will Sencha 2 SDK tools do something better then just gluing sencha-touch-all.js with all my classes into one huge file ?