Chapter 06
Storage
Where a page can keep data: cookies, Web Storage, IndexedDB and the Cache API, how each is scoped and shared, and how much the browser lets a site keep.- 010Cookies,
localStorage,sessionStorage, or IndexedDB — how do you choose?Coreeasy - 020How do cookies work — which requests carry them, and for how long?medium
- 030How do
localStorageandsessionStoragebehave across tabs?medium - 040How does IndexedDB work, and why do its transactions commit on their own?hard
- 050How much can a site store, and when does the browser delete it?medium