Web

How the browser itself works: storage, caching and the APIs underneath every page.

3 posts

All Web articles

Web8 min read

What Is Cache Storage? The Cache API Explained

Cache Storage keeps whole requests and responses in the browser. Learn the Cache API, how offline sites use it, and cache-first vs network-first, live.

#cache api#service worker#browser storage

Web8 min read

What Is localStorage? Save Data in the Browser

Learn how localStorage works, with a live lab on your own browser: setItem and getItem, why everything becomes a string, JSON, limits, and storage events.

#localstorage#javascript#browser storage

Web6 min read

What Is sessionStorage? Storage That Lives Per Tab

sessionStorage works like localStorage but lives in one tab. See what survives a reload, a new tab, a duplicate or closing the tab, with live demos.

#sessionstorage#localstorage#browser storage