Indexed DB
IndexedDB is a low-level, asynchronous browser API for storing significant amounts of structured data — including files and blobs — on the client, with support for indexes, transactions, and querying.
9 resources across 2 libraries
Glossary Terms(4)
Cookie
A cookie is a small piece of data that a website stores in a user's browser, sent back to the server with every subsequent request to that site, commonly used…
Local Storage
Local Storage is a browser API that lets web applications store key-value string data on the user's device, persisting across page reloads and browser restarts…
IndexedDB
IndexedDB is a low-level, asynchronous browser API for storing significant amounts of structured data — including files and blobs — on the client, with support…
Web Worker
A Web Worker is a browser API that runs JavaScript code on a background thread, separate from the main UI thread, so CPU-intensive tasks don't block page rende…
Interview Questions(5)
IndexedDB vs localStorage vs Cookies: When Do You Use Each?
Cookies are small, automatically sent-with-every-HTTP-request key-value pairs meant for server-visible state like session identifiers, localStorage is a synchr…
What Are the Size Limits of Web Storage Mechanisms?
Cookies are limited to roughly 4KB per cookie (and a per-domain count cap around 50-180 depending on the browser), localStorage and sessionStorage typically ca…
What Is Offline-First Architecture?
Offline-first architecture designs an app to treat local storage as the primary source of truth and network connectivity as an enhancement, so the UI stays ful…
What Is the Background Sync API?
The Background Sync API lets a web app register a deferred task with a Service Worker so that a failed or offline action, like submitting a form, automatically…
How Does Browser Storage Quota Management Work?
Browsers grant each origin a share of disk space for localStorage, IndexedDB, and Cache Storage that is bounded by a quota the browser computes from total free…