问题
Since Chrome 61 it appears that any item added to the local stage no longer gets created as a phsyical file within the local profile.
Previously running the command
localStorage.setItem('key', 'value')
Would create a SQLite file corresponding to the website in...
%localappdata%\google\chrome\user data\default\local storage\
But this now no longer seems to be the case, new items are simply no longer created in this location.
Anyone have any ideas if this behaviour has been deprecated?
Or alternatively any idea how to add to the local storage in chrome so that a physical file gets created?
回答1:
Looks like it's now stored in a LevelDB database. See https://crbug.com/586194, Chrome Service Model, and LocalStorage using Chrome Service Model if you want to learn more.
来源:https://stackoverflow.com/questions/46325138/local-storage-with-chrome-61