Playing for Keeps: Offline Web Content
Michael Mahemoff - @mahemoff
http://html5rocks.com
http://farm3.static.flickr.com/2106/2332059348_d00b452d39.jpg
http://farm5.static.flickr.com/4101/4796328721_8cfd0fa8a3_b.jpg
Chrome Web Store
http://thepcreport.net/wp-content/uploads/2009/09/chrome-logo.png
The Topic of the Moment ...
Performance - Run like an App!
http://farm2.static.flickr.com/1414/1068326056_89c90833de.jpg
Application Caching
Cache the code and static content
http://farm1.static.flickr.com/15/20562069_7cf1e2aaec.jpg
Offline Storage
Cache the user's content
http://farm3.static.flickr.com/2131/2318487593_e245171c64.jpg
File* APIs - Eventually
Shoehorn application cache? Maybe
For now - using Web SQL Database
http://farm4.static.flickr.com/3404/4627052792_a9964d8f97.jpg
1. Download using XHR
2. Store using Base64
3. Render using data: URIs
CREDITS
http://www.flickr.com/photos/subspace-eddy/2332059348/
http://www.flickr.com/photos/twcollins/1068326056/
http://www.flickr.com/photos/trinity-of-one/20562069/
http://www.flickr.com/photos/digitaltribes/2318487593/
http://www.flickr.com/photos/stuckincustoms/4627052792/