How does LocalStorage work in HTML5?

How does it work localStoragein HTML5? I searched somewhere (even in SO ) to find the actual internal logic of local storage, but I ended up visiting a few examples that use localStorage. I did not find a useful answer to my question. Can someone send me a link or explain about the worklocalStorage

+5
source share
2 answers

I'm not necessarily sure what you are looking for here ... but the internal implementation localStoragewill be browser specific. I would not expect both browsers to implement this function in the same way (like everyone else, implementation and performance will give each browser a different advantage).

If you are really interested, I suggest taking a source of Chromium and see how they realize things inside.

+6
source

You can use a simple jQuery plugin to store information using localStorage or cookie. This plugin is useful because you do not need control if the browser has or does not support local storage.

https://github.com/thyagoquintas/jquery-storage

0
source

All Articles