I am Working on an IBM Worklight 7.0 Hybrid mobile application with Sencha touch 2.4 . It initially takes too much time to load. The network load for the application shows an idle time for about 10 sec when monitored using the chrome developer tool.
IBM Worklight 7.0 with Sencha Touch How to optimize Application?
154 Views Asked by Kiren Paul At
3
There are 3 best solutions below
0

To reduce application load time you can do several things:
- Do not connect to the server on application launch is it is not required
- Use minification and concatenation to reduce network load by making the app 'smaller'
- Make sure you are not adding to your project stuff that you're not actually using
0

The initial delay to load might be owing to the sizeable app.css that has to be parsed and rendered (about 1.2 MB).
The same query and solution is mentioned in the Sencha blog here.
To add to @IdanAdar Answer:
Don't know if you are using Sencha CMD or not but it doesn't sound like you are.
In the Terminal or equivalent in Windows:
This should create a
build
folder in your project with a deployable versions of each kind of build if you have run the command.MyProject/build/production/MyApp
EDIT:
In your app.js you have a
Ext.application({
There's many other possible things.
Are you loading any external Classes?