Closed Bug 1001783 Opened 10 years ago Closed 10 years ago

[tarako] determine cache size

Categories

(Marketplace Graveyard :: General, defect, P1)

x86
macOS
defect

Tracking

(Not tracked)

RESOLVED FIXED
2014-05-20

People

(Reporter: ddurst, Assigned: clouserw)

References

Details

(Keywords: perf, Whiteboard: [qa-])

package (1mb?) + data in indexedDB (is 15mb still a safe ceiling?)
Worth noting:

"Firefox has no limit on the IndexedDB database's size. The user interface will just ask permission for storing blobs bigger than 50 MB. This size quota can be customized through the dom.indexedDB.warningQuota preference (which is defined in http://mxr.mozilla.org/mozilla-central/source/modules/libpref/src/init/all.js)."

https://developer.mozilla.org/en-US/docs/Web/API/IndexedDB_API#Storage_limits

It's unclear if this applies to Firefox OS, also.
Hi Joe & Fabrice.  We want to check in and make sure that <=15MB is still our target for IndexedDB on Tarako devices.
Flags: needinfo?(jcheng)
Flags: needinfo?(fabrice)
No longer blocks: 1000301
We have 80MB of total free space on /data, so 15MB looks reasonable to me. If you set the "storage" permission in your manifest we won't never limit indexedDB storage. If not, we cap at 5MB iirc.
Flags: needinfo?(fabrice)
Ok, thank you.  David & Chuck - let me know if this doesn't answer the question.
Status: NEW → RESOLVED
Closed: 10 years ago
Flags: needinfo?(jcheng)
Resolution: --- → FIXED
Whiteboard: [qa-]
Target Milestone: --- → 2014-05-20
Blocks: 992365
You need to log in before you can comment on or make changes to this bug.