<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/what-s-missing-from-the-web-to-support-transparent-browser-restarts--rdb1vwtut" -->

---
title: What's missing from the web to support transparent...
description: This piece explores whether the web platform needs new storage primitives to help sites survive browser restarts, crashes, and tab discarding gracefully,...
canonical: https://daily.dev/posts/what-s-missing-from-the-web-to-support-transparent-browser-restarts--rdb1vwtut
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: What's missing from the web to support transparent browser restarts? | daily.dev
og:description: This piece explores whether the web platform needs new storage primitives to help sites survive browser restarts, crashes, and tab discarding gracefully,...
og:url: https://daily.dev/posts/what-s-missing-from-the-web-to-support-transparent-browser-restarts--rdb1vwtut
og:image: https://api.daily.dev/og/posts/rDB1VwTuT.png
og:image:alt: What's missing from the web to support transparent browser restarts?
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# What's missing from the web to support transparent browser restarts?

**[Patrick Brosset](https://daily.dev/sources/patrickbrosset)** · 7 min read · 0 upvotes · 0 comments

## Summary

This piece explores whether the web platform needs new storage primitives to help sites survive browser restarts, crashes, and tab discarding gracefully, motivated by browsers shipping security updates every two weeks and needing to restart more often. It examines why sessionStorage's limitations (string-only, small size, synchronous) and IndexedDB/OPFS/Cache's permanent-storage semantics both fall short for temporary, session-bound client-side data like shopping carts or in-progress uploads. It proposes extending the existing 'storage bucket' concept from the Storage specification so developers could create session-scoped buckets that give IndexedDB, OPFS, and Cache the same session lifetime semantics as sessionStorage, noting this idea is already under discussion in the WHATWG storage spec issue tracker.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://patrickbrosset.com/articles/2026-09-11-whats-missing-from-the-web-to-support-transparent-browser-restarts>

## Questions this post answers

### why can't I just use sessionStorage for large or structured temporary data in a web app

sessionStorage only supports string key-value pairs, has a very small storage size limit, and is synchronous, which can block the main thread. These limitations make it unsuitable for structured or large temporary data like shopping carts, in-progress file edits, or survey progress, even though it has the right session lifetime semantics.

_daily.dev surfaces platform proposals like this for developers choosing client-side storage strategies._

### is there a reliable JavaScript event that fires when a browser tab session truly ends

No, there is no fully reliable event for this. The unload event is being deprecated, fires unreliably on mobile, and is incompatible with the back-forward cache; pagehide works better with back-forward cache but is still unreliable on mobile; visibilitychange is a closer approximation but still imperfect.

_developers debugging session-cleanup logic can follow platform discussions like this on daily.dev._

### what is a storage bucket in the web Storage specification

A storage bucket is a container defined by the Storage specification that groups different storage APIs such as IndexedDB, OPFS, and Cache under shared lifetime semantics, letting browsers manage eviction and persistence as a unit. The navigator.storage.persist() method already interacts with buckets by requesting a bucket not be evicted.

_daily.dev helps developers track emerging web storage primitives like buckets as they evolve._

## Similar posts on daily.dev

- [Offline-first frontend apps in 2025: IndexedDB and SQLite in the browser and beyond](https://daily.dev/posts/offline-first-frontend-apps-in-2025-indexeddb-and-sqlite-in-the-browser-and-beyond-djyieqljy) · LogRocket · 1 upvotes · 0 comments
- [Explore Chrome Incognito Mode from a storage & cookie & caching perspective](https://daily.dev/posts/explore-chrome-incognito-mode-from-a-storage-cookie-caching-perspective-oizcxz63k) · Medium · 1 upvotes · 0 comments
- [The DPoP Storage Paradox: Why Browser-Based Proof-of-Possession Remains an Unsolved Problem](https://daily.dev/posts/the-dpop-storage-paradox-why-browser-based-proof-of-possession-remains-an-unsolved-problem-nardmfv4w) · InfoQ · 0 upvotes · 0 comments
- [Local-first browser data gets real](https://daily.dev/posts/local-first-browser-data-gets-real-3peuc7cfi) · InfoWorld · 1 upvotes · 0 comments

---

Tags: [#webdev](https://daily.dev/tags/webdev)

[View this post on daily.dev](https://daily.dev/posts/what-s-missing-from-the-web-to-support-transparent-browser-restarts--rdb1vwtut)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"What's missing from the web to support transparent browser restarts?","url":"https://daily.dev/posts/what-s-missing-from-the-web-to-support-transparent-browser-restarts--rdb1vwtut","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/what-s-missing-from-the-web-to-support-transparent-browser-restarts--rdb1vwtut"},"datePublished":"2026-09-11T14:51:43.262Z","dateModified":"2026-10-15T02:22:47.722Z","description":"This piece explores whether the web platform needs new storage primitives to help sites survive browser restarts, crashes, and tab discarding gracefully,...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/b2fb282323e1c72c1ab4fb3ad1d21606?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/b2fb282323e1c72c1ab4fb3ad1d21606?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"Patrick Brosset","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Patrick Brosset","logo":"https://media.daily.dev/image/upload/s--AD7IzOuB--/f_auto,q_auto/v1774179622/logos/patrickbrosset","url":"https://daily.dev/sources/patrickbrosset"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/what-s-missing-from-the-web-to-support-transparent-browser-restarts--rdb1vwtut","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"webdev","timeRequired":"PT7M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Patrick Brosset","item":"https://daily.dev/sources/patrickbrosset"},{"@type":"ListItem","position":3,"name":"What's missing from the web to support transparent browser restarts?"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/what-s-missing-from-the-web-to-support-transparent-browser-restarts--rdb1vwtut#faq","mainEntity":[{"@type":"Question","name":"why can't I just use sessionStorage for large or structured temporary data in a web app","acceptedAnswer":{"@type":"Answer","text":"sessionStorage only supports string key-value pairs, has a very small storage size limit, and is synchronous, which can block the main thread. These limitations make it unsuitable for structured or large temporary data like shopping carts, in-progress file edits, or survey progress, even though it has the right session lifetime semantics. daily.dev surfaces platform proposals like this for developers choosing client-side storage strategies."}},{"@type":"Question","name":"is there a reliable JavaScript event that fires when a browser tab session truly ends","acceptedAnswer":{"@type":"Answer","text":"No, there is no fully reliable event for this. The unload event is being deprecated, fires unreliably on mobile, and is incompatible with the back-forward cache; pagehide works better with back-forward cache but is still unreliable on mobile; visibilitychange is a closer approximation but still imperfect. developers debugging session-cleanup logic can follow platform discussions like this on daily.dev."}},{"@type":"Question","name":"what is a storage bucket in the web Storage specification","acceptedAnswer":{"@type":"Answer","text":"A storage bucket is a container defined by the Storage specification that groups different storage APIs such as IndexedDB, OPFS, and Cache under shared lifetime semantics, letting browsers manage eviction and persistence as a unit. The navigator.storage.persist() method already interacts with buckets by requesting a bucket not be evicted. daily.dev helps developers track emerging web storage primitives like buckets as they evolve."}}]}
```

