# jStorage - store data locally with JavaScript

jStorage is a simple wrapper plugin for Prototype, MooTools and jQuery to cache data on browser side.

Add some values and refresh the page - if your browser supports storing local data, then the values should survive the page refresh.

KEY | VALUE | TTL (ms) |
|  |  | ADD
| Clicking "GET" alerts the value for provided key with the method $.jStorage.get(key) | GET
| Clear all saved data | FLUSH
| Refresh to clear expired keys | REFRESH

NB! Key "test" has a special meaning - if it is updated or deleted, all open windows of the same page will alert the change.