简体   繁体   English

使用Chrome 61进行本地存储

[英]Local Storage with Chrome 61

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. 从Chrome 61开始,任何添加到本地阶段的项目都不会再创建为本地配置文件中的phsyical文件。

Previously running the command 以前运行该命令

localStorage.setItem('key', 'value')

Would create a SQLite file corresponding to the website in... 将创建一个对应于该网站的SQLite文件...

%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? 或者,任何想法如何添加到chrome中的本地存储,以便创建物理文件?

Looks like it's now stored in a LevelDB database. 看起来它现在存储在LevelDB数据库中。 See https://crbug.com/586194 , Chrome Service Model , and LocalStorage using Chrome Service Model if you want to learn more. 如果您想了解更多信息,请参阅https://crbug.com/586194,Chrome 服务模型使用Chrome服务模式的LocalStorage

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM