HTML5会话存储有多大? [英] How large is HTML5 session storage?

查看:175
本文介绍了HTML5会话存储有多大?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

尽管 localStorage的大小已经详细解决,但有一个在线测试,我想知道 sessionStorage 适用于常见的浏览器?

Although the size of localStorage has been addressed in detail and there is a online test for it, I was wondering what the maximum size of sessionStorage is for the common browsers?

推荐答案

根据此网站,Firefox和Safari的存储限制是每个域5MB,Internet Explorer的限制为每个域10 MB。

According to this site, Firefox’s and Safari’s storage limit is 5MB per domain, Internet Explorer’s limit is 10 MB per domain.

然而,根据

However, according to this site which tests your web browser local storage capabilities, on my machine:

Browser        LocalStorage         SessionStorage
-------        ------------         --------------
Chrome              5M                   5M
Firefox             5M                Unlimited
IE10               4.75M                4.75M

另外,请注意页面底部的便利图表。

Also, note the handy chart at the bottom of the page.

这篇关于HTML5会话存储有多大?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆