HTML 5本機儲存子網域的大小限制

WBOY
發布: 2023-08-28 23:09:02
轉載
622 人瀏覽過

HTML 5本地存储子域的大小限制

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中文網其他相關文章!

來源:tutorialspoint.com
本網站聲明
本文內容由網友自願投稿,版權歸原作者所有。本站不承擔相應的法律責任。如發現涉嫌抄襲或侵權的內容,請聯絡admin@php.cn
最新下載
更多>
網站特效
網站源碼
網站素材
前端模板
關於我們 免責聲明 Sitemap
PHP中文網:公益線上PHP培訓,幫助PHP學習者快速成長!