Page MenuHomePhabricator

When do saved pages get updated from the network?
Closed, ResolvedPublic

Description

When visiting a saved page, either from the "Saved pages" menu item or by clicking on other links or searching for it:

  • Do we show the offline cached version?
  • Or try to fetch a new version if online?
  • Or show the cached version, but fetch a new version in the background?
    • If backgrounded, then when there is new content do we just swap it?
    • Do we prompt the user?
    • Do we ignore it and show it in the next visit?

Event Timeline

Sorry for the late response on this.

Our page load strategy is to prefer cached, then networked, then saved (more permanent cache). (This is an oversimplification because we currently have two caches.) We don't have any fancy update page behavior to show a stale page immediately and then revise with a refreshed version when available.

Additionally, our RESTBase loading behavior after making an edit is lacking because the page prior to the edit may be displayed due to caching in the service. We try to just wait a few seconds after the edit was made...

Thanks @Niedzielski

The prototypes currently autoupdate the network version.

I'm leaving it open and unassigned until we know more about what we want to test.

Jhernandez claimed this task.

As per parent task and mocks, saved articles won't auto update and instead there is a bottom bar with an update button to manually update. Like so:

Screen Shot 2016-11-25 at 11.33.54 AM.png (650×375 px, 203 KB)

Closing this.