I'm currently testing worklight and I noticed a huge loss of performance on android devices compared to iOs ones. (tested on asus nexus 7 vs iphone 4)
The first point was: A simple html page jerks during a simple jquery mobile page transition. No server calls.
I removed the jQuery mobile transition as it uses a lot of javascript instead of css3 transitions capabilities, but it still continue to tilt from a page to another. I mean there's a 1/10 second 'blank screen' between 2 pages and the rendering of the next page lags.
To analyze that issue, I removed the worklight layer and hosted my simple html/jquery mobile page on an apache web server and called it from my device's chrome browser. It worked perfectly fluid even with transitions.
After, I analyzed the worklight generated code in the mobile browser simulator and it appears that there's a lot of wlclient javascript files in the , which is not a good way of implementing a web page from my point of view, and what's more a mobile one.
Is there a way to compile all those files in one to avoid multiple http requests to the server ?
Is there a way to avoid to load all the client api if we just need a small part? I mean, if I don't need encryptedcache, why load the related js?
Is there a way to force the browser engine to use inside the app (chrome, opera, android native...) in order to test the perf of each one?
Worklight 5.0.5.20121217-0622 Android 21.0.0.v201210310015-519525 Win 7 64bit Eclipse 3.7.2
Thanks a lot for your help.