DEV Community

loading...

Discussion on: Cookies vs Local Storage

Collapse
johann_lr profile image
Johann

Is the local Storage really as big as 5Mb per domain in general? I use an application storing a bit more there…

Collapse
pragativerma18 profile image
Pragati Verma Author

Hey, Johann. localStorage capacity varies by browser, with 2.5MB, 5MB, and unlimited being the most common values. Google Chrome, Mozilla Firefox, and Opera provide 10MB per origin. You can also customize the storage size.

You can use this test to check for the storage size in your browser.

Hope this helps. If you have any other doubts, let me know.

Collapse
johann_lr profile image
Johann

Thanks for the answer!