Web Platform · Cluster
Browser Storage
Cookies, storage APIs, and caches.
- 01 Storage Partition Keys and the Origin Boundary How a browser derives the key that web storage is filed under, how scheme and port enter that key, and why partitioned third-party storage adds the top-level site.
- 02 Cookie Scope and the Attributes That Restrict Sending How the Domain and Path attributes decide which requests carry a cookie, and how Secure, HttpOnly, and expiry constrain what can be done with it once stored.
- 03 The Synchronous Storage Contract of localStorage and sessionStorage Why the Web Storage APIs expose a blocking string map, what that costs on the main thread, how storage events propagate, and where the quota boundary shows up.
- 04 Key Ordering and Cursor Semantics in IndexedDB How IndexedDB compares keys of different types, why compound keys sort lexicographically, and how cursor direction and ranges decide which records a traversal visits.
- 05 Transaction Lifetime and Durability in IndexedDB Why an IndexedDB transaction commits without being asked, which callbacks keep it alive, how a failed request aborts the whole scope, and what the durability hint actually guarantees.
- 06 Quota Accounting and Eviction Under Storage Pressure How browsers measure an origin's storage usage, where the quota figure comes from, what persistence changes, and how a victim is chosen when the disk fills.
- 07 Cache API Match Semantics and Opaque Responses How a Cache decides whether a stored entry answers a request, what Vary does to lookup, and why opaque cross-origin responses cost quota without being readable.
- 08 Structured Clone Across Storage Boundaries What the structured clone algorithm keeps when a value enters IndexedDB or crosses to a worker, which types it refuses, and how transfer differs from copying.
- 09 Coordinating Tabs with Locks, BroadcastChannel, and Storage Events How Web Locks give same-origin tabs a queue per name, what BroadcastChannel does and does not deliver, and why the storage event cannot serve as a mutex.
- 10 The Origin Private File System and Synchronous Access Handles How OPFS exposes a private per-origin directory tree, what an exclusive sync access handle offers a worker, and where byte-addressable storage beats record stores.