Category - Media

Blog Posts in 'Media' »

  • 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?