background preloader

Local Storage

Facebook Twitter

HTML5 Local Storage Revisited. Local storage is part of the HTML5 Web Storage API and it allows you to store data in the browser.

HTML5 Local Storage Revisited

Unlike cookies, data stored using local storage isn’t sent back to the server. All data stays on the client, and you can currently store from 2MB to 10MB. This limit is tied to the specific browser, protocol (HTTP or HTTPS), port, and top level domain in use. In this article, we’ll discuss how to use this API to improve the performance of a website. I’ll assume that you know what local storage is and the methods exposed, but if you need a refresher I suggest you read the article An Overview of the Web Storage API by Colin Ihrig.

HTML5 Local Storage Revisited. What is the max size of localStorage values? Sample local storage. HTML5 Web Workers. HTML5 Web Storage.