html5的localstorage数据库有大小限制。标准大小为每个域5或10mb。建议每个源限制为5mb。
以下内容已说明−
user agents should guard against sites storing data under their origin's otheraffiliated sites, e.g. storing up to the limit in a1.example.com,a2.example.com,a3.example.com, etc, circumventing the mainexample.com storage limit.
对于尺寸限制 −
a mostly arbitrary limit of five megabytes per origin is suggested.implementation feedback is welcome and will be used to update this suggestionin the future.
以上就是html 5本地存储子域的大小限制的详细内容。