Offline first!
summary
Demonstrates an Offline first site built with Service Workers plus the Cache API and Fetch API that caches a static asset list and creates a dynamic cache of visited pages, serves an offline.html fallback, and purges old caches by version name. Shows prefetch strategies (link rel prefetch, IntersectionObserver), stores cached URLs in localStorage, respects save‑data and navigator.connection.effectiveType, and notes browsers give ~10MB per site so cache management is developer‑responsible.
AI-written summary · about








