Page MenuHomePhabricator

iOS App: History is slow to load
Closed, ResolvedPublic

Description

Loading the history takes a long time (relatively), about 5 seconds for [[Avatar (2009 film)]].

I'm guessing this is because it tries to load 50 revisions at once. Instead it should load like 5, and then load the rest in the background, just like loading a page loads the first section first, and then the rest of the article.


Version: Alpha
Severity: normal

Details

Reference
bz67874

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 3:39 AM
bzimport set Reference to bz67874.
bzimport added a subscriber: Unknown Object (MLST).

I can confirm that 50 revisions takes a little longer to download than 5 revisions when I set the link conditioner to emulate a slow EDGE network. We can't eliminate the basic request latency, but requesting a smaller chunk at first should noticeably speed it up on slow connections by returning data a little faster.

Filed loading on demand as bug 68055, which'll make it easy to make the first request small.