How to set a lower storage limit or how to disable IndexedDB and OPFS entirely
- Dominant language
- Markdown
- Stars
- 11k
- Forks
- 23.2k
- Avg merge
- 2d 9h
- Merged PRs (30d)
- 331
Description
### MDN URL
https://developer.mozilla.org/en-US/docs/Web/API/Storage_API/Storage_quotas_and_eviction_criteria
### What specific section or headline is this issue about?
_No response_
### What information was incorrect, unhelpful, or incomplete?
This page lacks information on how to set a lower storage limit or how to disable IndexedDB and OPFS entirely.
### What did you expect to see?
I saw claims at least for OPFS there is an about:config option. Please list this option.
This is my opinion but 2GB per page seems like way too much, and based on that OPFS seem to invite page to be able to write enough data at a fast enough speed to disk that it may damage SSDs with notable wear if abused to the maximum for a few days in a row (which I doubt would be hard to do given some people leave their machines running with the browser open over night). I might be missing something here, but nevertheless, these complex interfaces also have at the very least a bigger attack surface while most sites simply don't use them.
Therefore I suggest an advanced user should be allowed to turn them off, and I think it would be a good idea if this page listed how to do that.
### Do you have any supporting links, references, or citations?
_No response_
### Do you have anything more you want to share?
_No response_
### MDN metadata
Page report details
* Folder: `en-us/web/api/storage_api/storage_quotas_and_eviction_criteria`
* MDN URL: https://developer.mozilla.org/en-US/docs/Web/API/Storage_API/Storage_quotas_and_eviction_criteria
* GitHub URL: https://github.com/mdn/content/blob/main/files/en-us/web/api/storage_api/storage_quotas_and_eviction_criteria/index.md
* Last commit: https://github.com/mdn/content/commit/d7a0ef33dfce20818a160557b5a72d6565cec254
* Document last modified: 2026-01-05T06:52:54.000Z
Contributor guide
Research direction
Start with files/en-us/web/api/storage_api/storage_quotas_and_eviction_criteria/index.md and verify the documented storage limits and browser-specific configuration options for IndexedDB and OPFS. Check authoritative browser documentation before deciding what can be documented; done means the page clearly explains any supported way to lower limits or disable these APIs, without presenting unsupported settings as universal.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- documentation, web-dev
- Issue type
- Documentation
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100