You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What’s the point of attachments? If you’re dealing with large binary data (such as PNGs), you may incur a performance or storage penalty if you naïvely include them as base64- or hex-encoded strings inside your documents. But if you insert the binary data as an attachment, then PouchDB will attempt to store it in the most efficient way possible.
pouchdb-adapter-indexeddb's current implementation currently follows the naïve path.
Moving attachments e.g. to a separate IDBObjectStore would have performance implications, and would require a migration.
If making this change, care should be taken to re-use IndexedDB transactions where possible.
The text was updated successfully, but these errors were encountered:
Pouch docs:
pouchdb-adapter-indexeddb
's current implementation currently follows the naïve path.Moving attachments e.g. to a separate
IDBObjectStore
would have performance implications, and would require a migration.If making this change, care should be taken to re-use IndexedDB transactions where possible.
The text was updated successfully, but these errors were encountered: