Best practice for offline website in iOS

前端 未结 3 1845
南旧
南旧 2020-12-28 10:39

I\'m building an app that requires downloading a lot of html5 content. Essentially it works similar to the magazine apps you see for iPad, except instead of using images, i

3条回答
  •  我在风中等你
    2020-12-28 11:28

    This question can be pretty easily answered by looking at the first and best HTML5 overview book out right now... And the best part it is published under the CC license.

    http://diveintohtml5.ep.io/offline.html <- is a whole chapter on cacheing webapps and is a great jumping off point for your application.

    It's not difficult, and it's cutting edge, what's cooler than that.

    If you are really serious about getting this application to work offline well then it really shouldn't be summarized beyond the link.

    Although I do have more resources that were at the bottom of that chapter

    Standards:

    • Offline web applications in the HTML5 specification

    Browser vendor documentation:

    • Offline resources in Firefox
    • HTML5 offline application cache, part of the Safari client-side storage and offline applications programming guide

    Tutorials and demos:

    • Gmail for mobile HTML5 series: using appcache to launch offline - part 1
    • Gmail for mobile HTML5 series: using appcache to launch offline - part 2
    • Gmail for mobile HTML5 series: using appcache to launch offline - part 3
    • Debugging HTML5 offline application cache
    • an HTML5 offline image editor and uploader application
    • 20 Things I Learned About Browsers and the Web, an advanced demo that uses the application cache and other HTML5 techniques

提交回复
热议问题