HTML5 Local Storage Library

 Supported in HTML5, to store data locally in browser by key value pair.

you will need jquery for this.


You can use this library to store data in local storage of browser, if it is supported, It extend the local storage function of browser , and provide a way to you to interact with storage based on your need, it can be used as BROWSER CACHE FOR YOUR SERVER SIDE API DATA, that you hit frequently.
This API can store data for a period of time, that is expiry time, and can delete it after that time, a function does this automatically. from that you can check if you need to hit api , or not. You can append data to an existing storage.

http://developerck.github.io/localstorage/

Leave a Reply

Your email address will not be published. Required fields are marked *