Category - DOM

Blog Posts in 'DOM' »

  • Encode images for offline usage with HTML5 Canvas

    This is the additional part to the previous tutorial "Create a self caching website ready for offline usage with HTML5 and jQuery". Our script is able to cache and restore markup, stylesheets and javascripts. Basically everything you need to make a kick-ass website. All of these assets are simple text and can be cached/restored as is. But how could we cache non-text based content, such as images, in HTML5's localStorage?
  • 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. Or in other words: every page a user visited online will be available offline too.