DEV Community

Discussion on: How to temporarily store API response?

chandlerbing016 profile image
Sumit Wadhwa Author • Edited on

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.

nektro profile image
Meghan (she/her)

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