Browser localStorage Usage

Comments primarily recommend and debate using browser localStorage or IndexedDB for client-side data storage in web apps, citing benefits like privacy and offline access alongside limitations such as size caps and reliability issues.

📉 Falling 0.4x Web Development
3,047
Comments
20
Years Active
5
Top Authors
#65
Topic ID

Activity Over Time

2007
4
2008
14
2009
26
2010
76
2011
114
2012
185
2013
207
2014
114
2015
116
2016
146
2017
155
2018
156
2019
178
2020
367
2021
252
2022
263
2023
231
2024
247
2025
188
2026
8

Keywords

SPA US URI JS S3 LocalStorage UUID HTTP WiFi youtube.com local storage storage local browser cookies store store data data user offline

Sample Comments

frandroid Jul 31, 2017 View on HN

You'd think they'd use localStorage...

hunterhod Nov 1, 2023 View on HN

Why not just store the data in localStorage?

Kaze404 Jun 25, 2021 View on HN

That's why LocalStorage exists.

amenod Sep 7, 2024 View on HN

This app is using "local storage" (storage that is local to your computer), not browser "window.localStorage".

chathuranga_v Jul 25, 2023 View on HN

Good work! I'm waiting to see the local storage support which is really helpful for my case as I don't want my data to go out.

dTal Sep 11, 2022 View on HN

Is there some reason you chose not to use local browser storage? Seems to me it's both more convenient (and private) for the user, and less work for you to host.

jweather Jan 2, 2026 View on HN

It appears to save to browser-local storage. Mine is still there after having the tab closed for at least 24 hours.

faffernot Apr 1, 2022 View on HN

Sounds like a good use case for the browser's localeStorage API

exelib Oct 29, 2022 View on HN

localStorage suffers from issues like size limits and performance (which, probably, leads to higher battery consumption).

quotemstr Jul 2, 2019 View on HN

That's what local storage is for.