Pangkalan data localStorage HTML5 mempunyai had saiz. Saiz standard ialah 5 atau 10MB setiap domain. Had yang disyorkan ialah 5MB setiap sumber.
Perkara berikut dinyatakan −
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.
Untuk sekatan saiz −
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.
Atas ialah kandungan terperinci Had saiz subdomain storan tempatan HTML 5. Untuk maklumat lanjut, sila ikut artikel berkaitan lain di laman web China PHP!