Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-12096] MobileWeb: Slow tableview when using remote web server

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionInvalid
Resolution Date2012-12-14T05:50:38.000+0000
Affected Version/sRelease 2.1.4
Fix Version/sn/a
ComponentsMobileWeb
Labelsn/a
ReporterMauro Parra-Miranda
AssigneeChris Barber
Created2012-12-14T05:21:42.000+0000
Updated2014-06-19T12:44:09.000+0000

Description

Problem When you create a mobile web app that is using tableviews, the performance will be slow, blocking the UI. Test case 1. Get the KitchenSink 2. compile it for mobile web 3. publish it in a remote webserver 4. open it from the default browser in android (the one from the default installation). We tested this either in linux+apache and win2k8 with IIS 7.

Comments

  1. Bryan Hughes 2012-12-14

    The problem is unrelated to table view. Kitchen Sink uses an on-demand loading system that was never designed for internet-scale lag. Whenever a row is clicked, the file behind is then require()'d. This means that the file is not downloaded until the row is clicked. To avoid this problem, the files need to be pre-cached (this can be done via the tiapp.xml file).

JSON Source