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

Spread the love

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:

Demo: http://demos.usejquery.com/self-caching-offline-website/

Download Links

usejquery.com/posts/create-a-self-caching-website-ready-for-offline-usage-with-html5-and-jquery

Scroll to Top