Sign in
Log inSign up
Nik

77 likes

·

6.3K reads

5 comments

Aryan Singh
Aryan Singh
Feb 15, 2024

Hey Nik ! While you covered everything about indexedDB and I appreciate the amount of insights I have gained into this tech but, can you pls tell me in what cases shall I use indexedDB for my web app ?

11
·
·1 reply
Nik
Nik
Author
·Apr 2, 2024

Hey! I can think of a number of use cases:

  1. Offline-first applications (e.g. Google Docs, where the document can be available offline, or todoist, where you might want to allow user to work with the app while user is offline)

  2. E2e encrypted apps: you need to store the keys somewhere and either derive them from password, or, store locally. E.g. WhatsApp.

  3. Dynamic caching -- if the performance in your app is extremely important, and fetching the data from the remote server is slow.

10
·
Davina Methew
Davina Methew
Dec 15, 2023

Its complete guide.

4
·
Amna
Amna
Apr 11, 2024

Okay

·