Skip to content
This repository has been archived by the owner on Oct 10, 2022. It is now read-only.

Use IndexedDB efficiently #16

Open
eshaan7 opened this issue Jun 4, 2020 · 0 comments
Open

Use IndexedDB efficiently #16

eshaan7 opened this issue Jun 4, 2020 · 0 comments
Labels
enhancement New feature or request indexedDB enhance features related to indexedDB

Comments

@eshaan7
Copy link
Member

eshaan7 commented Jun 4, 2020

At the moment, we only store the last 10 recent scans requested by the user in indexedDB. We could extend this to store the list of jobs and the analyzer configuration perhaps even more, this has many advantages:

  • less load on the backend/Database.
  • application can be served offline (in case of poor or no network connection)
  • fetching from indexedDB is obviously faster than making a http call to the Django API so application loads faster.
@eshaan7 eshaan7 added enhancement New feature or request indexedDB enhance features related to indexedDB labels Jun 4, 2020
@eshaan7 eshaan7 pinned this issue Sep 7, 2020
@eshaan7 eshaan7 unpinned this issue Oct 12, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request indexedDB enhance features related to indexedDB
Projects
None yet
Development

No branches or pull requests

1 participant