Getting off(line): appcache, localStorage for HTML5 apps that work offline
summary
Shows how to make web apps runnable offline using the HTML5 appcache manifest plus localStorage/sessionStorage and online/offline events, with concrete rules: manifest must be served as text/cache-manifest, every cached resource is listed explicitly, HTML pages with a manifest are auto-cached, and caches persist until the manifest changes (browser revalidates and applies updates on the next visit). Notes practical limits (~5MB nominal, effectively ~2.5MB with UTF‑16) and tooling (a manifestor bookmarklet) and demos a working app called Speak Easy that uses these features successfully.
AI-written summary · about
chapters (17)
- 0:00Start
- 5:17Application App Cache Manifest File
- 5:52Application Manifest File
- 6:48Cash Section
- 10:37Partial Match Pattern
- 11:01Star Wildcard
- 11:53Network Section
- 12:29Fallback Section
- 16:43The Manifest Attribute
- 32:19Support Apps
- 33:31Bookmarklet
- 36:33Cookies to the Rescue
- 37:22What Is a Session
- 39:07Session Storage
- 41:22What Good Is a Session Storage
- 44:27Gotchas
- 54:32Speakeasy








