resle
resle

Reputation: 2364

IndexedDB storage quota on Chrome

Now that finally Blobs are supported, I am writing a video caching layer to recall N recently downloaded videos.

Is there a way to query IndexedDB for the maximum allowed storage? Is there a way to request a quota increase?

I am asking because none of the info I found searching seems to apply anymore. I have so far stored hundreds of megabytes of videos although some articles talk of a 5 (or sometimes 20) mb limit. I hope I am not building against a bug.

100+ mb stored so far with no issues using chrome 38.0.2125

Upvotes: 0

Views: 1231

Answers (1)

Kyaw Tun
Kyaw Tun

Reputation: 13131

I don't think Chrome limit on IndexedDB (or any storage) so far as OS can provide. Also note, IndexedDB storage are temporary storage and can be purged without notifying to the app. When Quota Management API, you will have assurance of persistent storage.

Upvotes: 1

Related Questions