HTML 5 local storage subdomain size limit

WBOY
Release: 2023-08-28 23:09:02
forward
622 people have browsed it

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

HTML5’s localStorage database has a size limit. Standard sizes are 5 or 10MB per domain. The recommended limit is 5MB per source.

The following is stated −

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.
Copy after login

For size restrictions −

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.
Copy after login

The above is the detailed content of HTML 5 local storage subdomain size limit. For more information, please follow other related articles on the PHP Chinese website!

source:tutorialspoint.com
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!