DEV Community

Discussion on: How to temporarily store API response?

Collapse
chandlerbing016 profile image
Sumit Wadhwa Author • Edited

Thanks Sean. BTW, how big of a data can be stored in sesssionStorage? So, let's say, if I had an object of at least 60 list items with each item holding a minimum of 4-5kb of data, would it still be appropriate to leverage sessionStorage.

Collapse
nektro profile image
Meghan (she/her)

The maximum capacity for sessionStorage ranges from about 5-10 MB depending on the browser.