gh-board icon indicating copy to clipboard operation
gh-board copied to clipboard

better GitHub JSON caching

Open philschatz opened this issue 9 years ago • 0 comments

Currently, all GitHub API requests are stored in IndexedDB so eTags work, but when many repos (~100) and many Pull Requests (~10000) are pulled then the DB runs out of space (50MB). The cache should be cleared better.

Maybe gh-board could store commit status and PR status in window.sessionStorage instead of IndexedDB so they are cleared more frequently.

Requests that are not terribly useful to cache for a long period of time:

  • [ ] updatedSince requests
  • [ ] CI status requests

philschatz avatar Apr 05 '16 18:04 philschatz