Although the size of localStorage has been addressed in detail and there is a online test for it, I was wondering what the maximum size of sessionStorage is for the common browsers?
HTML5 Web storage includes local storage and session storage. Both can store data on client side, same like cookies. But Cookies can store upto 4kb data in string type, whereas HTML5 web storage can store 5mb, (Upto 10mb in some browsers) data in key-value pair.
SessionStorage is used for storing data on the client side. Maximum limit of data saving in SessionStorage is about 5 MB. Data in the SessionStorage exist till the current tab is open if we close the current tab then our data will also erase automatically from the SessionStorage.
Session storage — The session storage uses the sessionStorage object to store data on a temporary basis, for a single browser window or tab. The data disappears when session ends i.e. when the user closes that browser window or tab.
Apart from new elements in HTML5, this new web technology offers us Offline Storage. There are a number types of offline storage, and in this article we will specifically discuss sessionStorage and localStorage.
According to this site, Firefox’s and Safari’s storage limit is 5MB per domain, Internet Explorer’s limit is 10 MB per domain.
However, according to this site which tests your web browser local storage capabilities, on my machine:
Browser LocalStorage SessionStorage ------- ------------ -------------- Chrome 5M 5M Firefox 5M Unlimited IE11 5M 5M
Also, note the handy chart at the bottom of the page.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With