<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/almost-everything-about-storing-data-on-the-web-ui3f7ny9l" -->

---
title: (Almost) everything about storing data on the web
description: A comprehensive guide to client-side web storage options including localStorage, IndexedDB, Cache API, and the Origin-Private File System (OPFS). Covers how...
canonical: https://daily.dev/posts/almost-everything-about-storing-data-on-the-web-ui3f7ny9l
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: (Almost) everything about storing data on the web | daily.dev
og:description: A comprehensive guide to client-side web storage options including localStorage, IndexedDB, Cache API, and the Origin-Private File System (OPFS). Covers how...
og:url: https://daily.dev/posts/almost-everything-about-storing-data-on-the-web-ui3f7ny9l
og:image: https://api.daily.dev/og/posts/Ui3f7NY9l.png
og:image:alt: (Almost) everything about storing data on the web
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.

# (Almost) everything about storing data on the web

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

## Summary

A comprehensive guide to client-side web storage options including localStorage, IndexedDB, Cache API, and the Origin-Private File System (OPFS). Covers how browsers manage storage internally using the storage spec model (sheds, shelves, buckets, bottles), per-browser storage quotas (Safari: 1GiB+, Chromium: up to 60% of disk, Firefox: 10% capped at 10GiB), how to check available storage via the StorageManager API, and the difference between temporary and persistent storage including eviction policies per browser.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://patrickbrosset.com/articles/2023-01-17-web-storage/>

## Similar posts on daily.dev

- [How to Store Files on a User’s Device Using OPFS](https://daily.dev/posts/how-to-store-files-on-a-user-s-device-using-opfs-qbl7mtcmb) · Telerik · 1 upvotes · 0 comments

---

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

[View this post on daily.dev](https://daily.dev/posts/almost-everything-about-storing-data-on-the-web-ui3f7ny9l)

```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":"(Almost) everything about storing data on the web","url":"https://daily.dev/posts/almost-everything-about-storing-data-on-the-web-ui3f7ny9l","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/almost-everything-about-storing-data-on-the-web-ui3f7ny9l"},"datePublished":"2026-03-22T11:40:39.775Z","dateModified":"2026-03-22T11:41:54.268Z","description":"A comprehensive guide to client-side web storage options including localStorage, IndexedDB, Cache API, and the Origin-Private File System (OPFS). Covers how...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/bbecb5372c429cf7c1bdb62f1c39af65?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/bbecb5372c429cf7c1bdb62f1c39af65?_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/almost-everything-about-storing-data-on-the-web-ui3f7ny9l","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"webdev","timeRequired":"PT16M"}
{"@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":"(Almost) everything about storing data on the web"}]}
```

