Browser storage limits and eviction criteria
简单说:同一个域名(含子域名),indexdb最大可用空间为不超过磁盘剩余空间的10%且不大于2GB。(firefox)
https://developer.mozilla.org/en-US/docs/Web/API/IndexedDB_API/Browser_storage_limits_and_eviction_criteria
Storage limits
The maximum browser storage space is dynamic — it is based on your hard drive size. The global limit is calculated as 50% of free disk space. In Firefox, an internal browser tool called the Quota Manager keeps track of how much disk space each origin is using up, and deletes data if necessary.
So if the free space on your hard drive is 500 GB, then the total storage for a browser is 250 GB. If this is exceeded, a process called origin eviction comes into play, deleting an entire origin's worth of data until the storage amount goes under the limit again. There is no trimming effect put in place to delete parts of origins — deleting one database of an origin could cause problems with inconsistency.
There's also another limit called group limit — this is defined as 20% of the global limit, but it has a minimum of 10 MB and a maximum of 2 GB. Each origin is part of a group (group of origins). There's one group for each eTLD+1 domain. For example:
mozilla.org— group1, origin1www.mozilla.org— group1, origin2joe.blogs.mozilla.org— group1, origin3firefox.com— group2, origin4
In this group, mozilla.org, www.mozilla.org, and joe.blogs.mozilla.org can aggregately use a maximum of 20% of the global limit. firefox.com has a separate maximum of 20%.
Browser storage limits and eviction criteria的更多相关文章
- browser storage limation
http://www.html5rocks.com/en/tutorials/offline/quota-research/?redirect_from_locale=zh
- Browser Cookie Limits
w https://cait.calarts.edu/hc/en-us/articles/217055138-Error-Maximum-Number-of-Cookie-Values-Reached ...
- The state of binary data in the browser
The state of binary data in the browser Or: "So you wanna store a Blob, huh?" TL;DR Don't ...
- 8.深入k8s:资源控制Qos和eviction及其源码分析
转载请声明出处哦~,本篇文章发布于luozhiyun的博客:https://www.luozhiyun.com,源码版本是1.19 又是一个周末,可以愉快的坐下来静静的品味一段源码,这一篇涉及到资源的 ...
- Data storage on the batch layer
4.1 Storage requirements for the master dataset To determine the requirements for data storage, you ...
- mysql --The MEMORY Storage Engine--官方文档
原文地址:http://dev.mysql.com/doc/refman/5.7/en/memory-storage-engine.html The MEMORY storage engine (fo ...
- packages/wepy-web/src/wx.js 分析storage 的加载原理 wx.getStorage(OBJECT)
是小程序实例化后 读入内存 还是每次调用从文件系统读取 https://github.com/Tencent/wepy/blob/bd0003dca2bfb9581134e1b05d4aa1d80fc ...
- Technical analysis of client identification mechanisms
http://www.chromium.org/Home/chromium-security/client-identification-mechanisms Chromium > Chro ...
- Enhancing the Scalability of Memcached
原文地址: https://software.intel.com/en-us/articles/enhancing-the-scalability-of-memcached-0 1 Introduct ...
- Spring Web MVC框架简介
Web MVC framework框架 Spring Web MVC框架简介 Spring MVC的核心是`DispatcherServlet`,该类作用非常多,分发请求处理,配置处理器映射,处理视图 ...
随机推荐
- 现在的AI工具还能写剧本杀了?
本文由 ChatMoney团队出品 近年来,剧本杀作为一种新兴社交游戏,收到了越来越多人的喜爱,它不仅需要玩家们发挥自身演技,还需运用逻辑思维推理,分析所获得的线索,找出案件真凶.然而你是否想过,你在 ...
- 【UNIAPP】canvas画布不能绘图片
已知原因1: 当使用 v-if 时,会失效 解决方法1: 如果需要暂时隐藏可以使用 z-index
- C#/.NET/.NET Core技术前沿周刊 | 第 44 期(2025年6.23-6.30)
前言 C#/.NET/.NET Core技术前沿周刊,你的每周技术指南针!记录.追踪C#/.NET/.NET Core领域.生态的每周最新.最实用.最有价值的技术文章.社区动态.优质项目和学习资源等. ...
- C# WinForm 中让panel 可以在WinForm 中移动
panelContent.MouseDown += Panel_MouseDown; // 为Panel添加鼠标移动事件处理程序 panelContent.MouseMove += Panel_Mou ...
- C# 字符串去掉括号和括号里面的内容
https://blog.csdn.net/zhang0000dehai/article/details/80701341 using System.Text.RegularExpressions; ...
- C# Post 使用(multipart/form-data)请求数据
public static string HttpPostMultipartFormData(string url, NameValueCollection kVDatas, string metho ...
- java--Hibernate查询、连接池、二级缓存
hibernate查询 1) Get/load主键查询 2) 对象导航查询 3) HQL查询, Hibernate Query language hibernate 提供的面向对象的查询语言. 4) ...
- 使用django-crispy-forms美化表单UI
前言 欧克,继续来写这个中台项目衍生出来的系列文章 今天介绍一个可以美化界面的库 Django 开发讲究个快,天下武功,唯快不破 forms 功能自然是要用的,自带表单 UI 生成和验证,实现 dem ...
- Management-DecisionMaking-Leadership-Relationship: 组织关系管理: Communication组织沟通 与 Mgmt.管理:和 领导 OR 直属领导 1V1面谈的沟通
Management-DecisionMaking-Leadership-Relationship: 组织关系管理: Communication组织沟通 与 Mgmt.管理 明确沟通方的"R ...
- ActiveMQ是什么?-九五小庞
MQ是消息中间件,是一种在分布式系统中应用程序借以传递消息的媒介,常用的有ActiveMQ,RabbitMQ,kafka.ActiveMQ是Apache下的开源项目,完全支持JMS1.1和J2EE1. ...
