Does IndexedDB Store Files Outside of Database?

I was reading this article this morning:
http://hacks.mozilla.org/2012/07/why-no-filesystem-api-in-firefox/

And this statement caught my eye:

In Firefox’s IndexedDB implementation (and I believe IE’s too) the files are transparently stored outside of the actual database. This means that performance of storing a file in IndexedDB is just as good as storing the file in a filesystem. It does not bloat the database itself slowing down other operations, and reading from the file means that the implementation just reads from an OS file, so it’s just as fast as a filesystem.

Does this mean that storing physical files (images, mp3s, etc.) does not affect the size of the database?

If so, this could be huge for storing sites like the BMW Showcase for offline!

This, in addition to the IndexedDB ployfill mentioned in this video from Google I/O 2012 (starts at about 15:30), could make this functionality useful, right now…

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s