Page MenuHomePhabricator

Remove caching of all articles in DB in favor of SW caching
Closed, DeclinedPublic

Description

Currently the prototype stores all articles in DB when visited for performance reasons.

  • Remove that DB caching. Leave the browser DB for just the saved pages.
  • Add caching by http request using service worker, by using a fastest network|cache strategy. Limit the cache by size/number of items and make it LRU.

Event Timeline

atgo triaged this task as Medium priority.Oct 17 2016, 3:25 PM
atgo moved this task from Backlog to Epics in progress on the New-Readers board.
Jhernandez lowered the priority of this task from Medium to Low.Oct 21 2016, 1:54 PM
Jhernandez updated the task description. (Show Details)

First part has been done. Second part is a performance optimization, a nice to have.

I'm going to decline this since this is a performance improvement that's not really needed for user testing purposes.

It'd be interesting for a production version of the site though.