Proof of concept from :21 attached to bug 865747.
Don't convert to JSON when saving the cache to IndexedDB.