Reputation: 229
By Web Storage I am referring to: http://www.w3.org/TR/webstorage/
Since Web Storage is client-side, will it still work without a current internet connection?
Provided all scripts etc. were already loaded, if the user then lost connection or set their browser to offline mode, would any web storage processing still work? (e.g. getting and setting keys in local/session storage)
Upvotes: 0
Views: 416
Reputation: 11498
Yes. To get and set local storage, session storage, or cookies, the computer must be connected… to itself. That doesn't require an internet connection.
So if the everything you need is downloaded (like in cache), you have everything you need. Everything is on the computer.
Upvotes: 1