This page is Ready to Use

Notice: The WebPlatform project, supported by various stewards between 2012 and 2015, has been discontinued. This site is now available on github.

web-storage API

Summary

The Web Storage API provides objects for storing temporary (sessionStorage) and permanent (localStorage) data on the client’s device.

Storage
Provides access to a list of key/value pairs, sometimes called "items". The amount of storage space is limited by browsers. Changes fire ‘storage’ event on dom/Window.

Usage

 These APIs allow web apps to function offline. They are also a performance booster by storing large amounts of data locally instead of waiting for it to download. Lastly, they provide an easier programming model, with no server infrastructure required.

Attributions

  • Portions of this content come from HTML5Rocks!.