gh-board
gh-board copied to clipboard
better GitHub JSON caching
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