Client-side storage for data persistent.

Size limit: more than 100mb, large dataset.

Performance: Asynchronous and non-blocking.

Data persistence: persists across browser sessions.

Data structure: key-value pair. Value is any complex structure. You can also create an index.

Security: Encryption, Auth, XSS, cleanup data on logout.

When to use: Large data set, data cache, offline support, lot of history.

When not to use: secure data/sensitive, small data, synchronous operations.

dexie is a library for handling indexdb.