localStorage


稳定性: 1.2 - 发布候选。使用 --experimental-webstorage 启用此 API。

¥Stability: 1.2 - Release candidate. Enable this API with --experimental-webstorage.

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.