Plugin jQuery: Create a self caching website ready for offline usage with HTML5 and jQuery

Create a self caching website ready for offline usage with HTML5 and jQuery
http://www.jqueryrain.com/?http://demos.usejquery.com/self-caching-offline-website/
usejquery.com/posts/create-a-self-caching-website-ready-for-offline-usage-with-html5-and-jquery
L5, , Web
23/01/2012

Nội dung

Create a self caching website ready for offline usage with HTML5 and jQuery

In this tutorial we will create a website that is able to cache its own content, including markup, stylesheets and javascripts, as a user browse it. To dynamically restore cached files we use a offline manifest and the local storage. Or in other words: every page a user visited online will be available offline too.

Please note that the demo application is written in CoffeeScript and must be compiled to JavaScript. If you have Thor installed use the command thor compile:js.

Tags: Html5 Local Storage

Nguồn: www.jqueryrain.com/2012/01/create-a-self-caching-website-ready-for-offline-usage-with-html5-and-jque...


Chưa có phản hồi
Bạn vui lòng Đăng nhập để bình luận