What is the importance of HTML5 Storage concept (Session,Local,WebSQL Storage).
when we will go for 1) Session Storage
2) Local Storage
3) WebSQL Storage
In case of WebSQL Storage we can create DB Tables, internally which Database it will use for database table creation.
posted 5 years ago
ANything that goe to local storage has to be shipped down to the browser. Local storage is limited in space.
Local Storage is good for apps where you need to have an offline mode so user can save stuff and work without a connection. It is good when you need to do look ups of certain info in a faster manner.
When to use it is when you think you need it. The thing is HTML5 storage is not supported in older browsers so it is limited.