Page MenuHomePhabricator

Page loading when going back and forward is very slow and jarring
Closed, ResolvedPublic

Description

The page loading is very buggy and slow on iOS especially when you are hitting back and forward buttons on the app to go to a page you previously were at.

I have made a video to show what I'm talking about: http://sendvid.com/oxnvt702

After the person hits the back button, the page doesn't instantly load (as it should) but goes thru several several steps (fading out, lead image loading, etc). This is a horrible experience.

Similar experience exists when you are hitting the forward button.

The experience deteriorates even further if the page that is loading was scrolled previously.

Let me know if you need a bit more clarity around this, happy to sit down.

Event Timeline

MSyed assigned this task to JKatzWMF.
MSyed raised the priority of this task from to Needs Triage.
MSyed updated the task description. (Show Details)
MSyed subscribed.

You’ll be happy to know that we just merged a patch to remove the white overlay and just load in place: T97781 (this also removed the spinner, yeah!) We also did do some work on the image loading, and it loads pretty instantly from the cache now.

That should be in the alpha channel tomorrow.

As far as load time, it is what it is. We have improved speed of rendering somewhat, but we are getting close to the limits of what is possible in a web view. The real solution is to move away from the web view and use native views when navigating between articles and only show the web view when the reader actually wants to read the article - we are working on that.

Anyways… now to get rid of that stupid flashing banner at the bottom…

Thanks @Fjalapeno!

Is there a way to not reload the page when a user is coming from a back button? Just show the page that is already loaded on the device.

@MSyed Did you check out the latest alpha? I think it is doing as you suggested, just loading the page immediately (let me know if you see something different).