localStorage
稳定性: 1.2 - 候选发布版本。使用
--experimental-webstorage 启用此 API。localStorage 的浏览器兼容实现。数据存储在由 --localstorage-file CLI 标志指定的文件中,未加密。
可以存储的最大数据量为 10 MB。
不支持通过 Web Storage API 以外的方式修改这些数据。
在服务器环境中使用 localStorage 数据时,它不会按用户或按请求存储,而是所有用户和请求共享的。
【A browser-compatible implementation of localStorage. Data is stored
unencrypted in the file specified by the --localstorage-file CLI flag.
The maximum amount of data that can be stored is 10 MB.
Any modification of this data outside of the Web Storage API is not supported.
localStorage data is not stored per user or per request when used in the context
of a server, it is shared across all users and requests.】