Where is sessionstorage,localstorage,indexDb actually stored? Memory or disk?

where on earth is sessionstorage,localstorage,indexDb stored

Apr.07,2021

memory. How did you figure it out? restart the computer to see if the data is still there. You will know if it is in memory


.

sessionStorage is valid in a session, in other words, you are still alive if you close the relevant browser tags, but closing the browser completely will erase it, so there is memory.

localStorage will survive even if you close the browser, so it will be brushed to disk. The same goes for indexDB

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3a9dc-2c230.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3a9dc-2c230.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?