Persistent Storage & Eviction Playground

The granary’s seal: the real persist() and estimate() in this browser, then a simulated full disk: what does the browser clear, and which origin goes first?…

Why it matters

An offline app keeps drafts, photos or a queue in the browser, then one day the data is gone though nothing deleted it. Not a bug in your code: the user’s disk was full and best-effort origins were cleared. Knowing when browser data can be trusted, and when it needs a backup on a server, starts here.

The key idea

Best-effort goes whole, the longest unopened first

Common mistakes

Try it in this playground