A note about 'offline first'
I believe that the ideal way to build responsive web pages and web-based applications is 'offline first'. This approach means that websites and applications will continue to work and load, even without an Internet connection.
HTML5 offline web applications (http://www.w3.org/TR/2011/WD-html5-20110525/offline.html) were specified to meet this aim.
Although support for offline web applications is good (http://caniuse.com/#feat=offline-apps), sadly, it's an imperfect solution. Although it's relatively simple to set up, there are a number of limitations and pitfalls. Documenting them all here is beyond the scope of this book. Instead I would recommend reading the humorous and thorough post by Jake Archibald on the subject ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access