Compress the framework
I am using the app builder(terminal) for creating the app package along with SDK. But now when I load the app on my phone, it takes about 60 seconds to load the app. How can I compress the whole framework so that it takes faster to load the app.
Do you use the sencha-touch.js or the debug versions? The regular ones should be minified which should help with the load time.
I am using the SDK package which has sencha-touch.js , sencha-touch-all.js
I think you have the same problem as this thread that was posted yesterday.
Are you using Sencha Command? When you do a build it will minify ST2 and also your application files
i just want to compress the js and css files before i put them in eclipse/phoneGap to make an apk Android file, but no way, i tried Sencha Cmd, went to the Application directory:
D:\Daten\xampp\htdocs\Customer then made a buil.bat file which says: sencha app build
but i get an error:
Sencha Cmd v22.214.171.124
[ERR] Please ensure this command was executed from a valid application
[ERR] Unable to locate 'app.dir' config property from sencha.cfg
I tried it bevor from Architekt but it is not working too, packaging and build is not working though Architekt or directly through Cmd.
I would like to have a complete example or video to explain how to use cmd to compress the application.