HTML5的localStorage資料庫有大小限制。標準大小為每個域5或10MB。建議每個來源限制為5MB。
以下已說明−
User agents should guard against sites storing data under their origin's other affiliated 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 suggestion in the future.
以上是HTML 5本機儲存子網域的大小限制的詳細內容。更多資訊請關注PHP中文網其他相關文章!