jahu00 / Rikaikyun

Rikaichan based Phonegap app for reading Japanese text
5 stars 2 forks source link

Slow loading on T68 #20

Open jahu00 opened 9 years ago

jahu00 commented 9 years ago

When running the app on its own (instead of doing "phonegap run android"), the app has strangely long startup time (on T68).

jahu00 commented 9 years ago

It appears that T68's viewport is rather lazy when it comes to JS and after a short while stops executing JS. It might be possible to partially solve this issue by removing the limit on simultaneous AJAX reads (all AJAX requests are executed a the same time). Currently it takes a few taps on the screen to make the app fully load. Previously all AJAX requests were done at the same time. The app still stopped responding till next tap, but after that tap, the app was fully loaded.

jahu00 commented 8 years ago

It might be possible to motivate T68 to refresh screen by throwing exceptions. I'll test it when I have the time.