How to expand the storage limit of sessionStorage

the storage size of sessionStorage is less than 5MB, so how to expand the storage capacity of sessionStorage is not limited by 5MB.
how to monitor how much data sessionStorage has stored at the same time

Jan.16,2022

javascript is not allowed. 5m data is already very large. It is recommended to save it in the database


. SessionStorage is not suitable for storing large amounts of data. Try indexdb


it is not recommended to use native api. You can try store.js


sessionStorage the storage space is determined by the browser, which can not solve the problem you asked at this stage.
but it can be implemented in other ways. localforage take a look at the 10th point of the data store in note https://codeshelper.com/a/11..

Menu