>웹 프론트엔드 >HTML 튜토리얼 >HTML 5 로컬 저장소 하위 도메인 크기 제한

HTML 5 로컬 저장소 하위 도메인 크기 제한

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB앞으로
2023-08-28 23:09:02873검색

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

HTML5의 localStorage 데이터베이스에는 크기 제한이 있습니다. 표준 크기는 도메인당 5MB 또는 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으로 문의하시기 바랍니다. 삭제