Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p><strong>IndexedDB</strong> You can store images into an IndexedDB, but you would be responsible for saving them, clearing them and updating them as needed.</p> <p>Also if you need it to work on mobile devices, an IndexedDB is not what you want, as none of the current mobile browsers support IndexedDB. (Source: <a href="http://caniuse.com/#feat=indexeddb" rel="nofollow">http://caniuse.com/#feat=indexeddb</a>)</p> <p><strong>Offline Applications</strong> I would recommend instead that you use a new HTML5 feature called Application Cache. This is supported by almost all the browsers out there (Source: <a href="http://caniuse.com/#feat=offline-apps" rel="nofollow">http://caniuse.com/#feat=offline-apps</a>)</p> <p>To use it you just need to create a Website.manifest file such as:</p> <pre><code>CACHE MANIFEST # v0.0.3 2011-12-21 images/ImageThatIWantToCache.png images/SecondImage.png </code></pre> <p>Then in your web page alter the html tag to be something like:</p> <pre><code>&lt;html manifest="Website.manifest"&gt; </code></pre> <p>Advantages: 1. The browser will automatically cache the images 2. You access the images using the original URL (i.e. /images/SecondImage.png) 3. Updating is much easier, you just drop the new images onto the web server and update the version number in the manifest file.</p> <p>You can read more about the <a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/offline.html" rel="nofollow">Offline spec</a>, or just do a google search for examples.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload