Engrain by ByteRush

WEB.05 3 concepts · 1 ready

Client-side storage

Choose the right storage and understand limits, security and eviction.

  1. WEB.05.01Cookies in depthCoreMid-level12 min
  2. WEB.05.02localStorage, sessionStorage and IndexedDBCoreJuniorBeing written
  3. WEB.05.03Quotas, persistence, partitioning and the Cache APISeniorBeing written

Interview questions in this module

  1. Compare cookies, localStorage, sessionStorage and IndexedDB.
  2. What do HttpOnly, Secure and SameSite do?
  3. Where should you store an auth token in a SPA? What are the trade-offs?
  4. How do you sync state between tabs?
  5. What happens when a site exceeds its storage quota?
  6. What is storage partitioning?