localStorage


localStorage 的浏览器兼容实现。数据以未加密形式存储在 --localstorage-file CLI 标志指定的文件中。可存储的最大数据量为 10 MB。通过 Web Storage API 以外的方式修改此数据不受支持。可使用 --no-webstorage(或其别名 --no-experimental-webstorage)CLI 标志禁用此 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. Disable this API with the --no-webstorage (or its alias --no-experimental-webstorage) CLI flag. 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.】