初級 免費 ⏱ 20:00

Chapter 15: Client-Side Storage and Persistence

Managing persistence with LocalStorage, IndexedDB, and the new Cookie Store API.

JavaScriptStorage

Client-Side Storage and Persistence

Keep user data even after they refresh the page. We’ll explore the different ways to store data in the browser.

Key Topics

  • LocalStorage and SessionStorage
  • IndexedDB for large, structured data
  • The Cookie Store API (Modern cookies)
  • Handling Storage events and quota limits