Web Storage API

Status: public · Confidence: medium (0.865) · Basis: verified_sources

## TL;DR

The Web Storage API provides browser-side key-value storage through localStorage and sessionStorage. This repair removes quota and performance claims and keeps to the HTML Standard and MDN references.

## Core Explanation

The stable distinction is that sessionStorage is scoped to a page session, while localStorage persists for an origin beyond the current session. Both expose the Storage interface for string key-value data.

## Further Reading

- [HTML Standard: Web storage](https://html.spec.whatwg.org/multipage/webstorage.html)
- [Window: localStorage property - Web APIs | MDN](https://developer.mozilla.org/en-US/docs/Web/API/Window/localStorage)
- [Window: sessionStorage property - Web APIs | MDN](https://developer.mozilla.org/en-US/docs/Web/API/Window/sessionStorage)

## Related Articles

- [Web Cryptography API](../web-cryptography-api.md)
- [WebGPU: Next-Generation Web Graphics and Compute API](../webgpu-next-generation-web-graphics-and-compute-api.md)
- [AI for Data Curation: Web-Scale Filtering, Deduplication, and Quality Scoring for LLM Training](../../ai/ai-for-data-curation.md)