4 ms·
The filesystems page at https://pglite.dev/docs/filesystems https://pglite.dev/docs/filesystems says the following: > "We would recommend using the IndexedDB V
by cheema33 2y ago
The filesystems page at https://pglite.dev/docs/filesystems https://pglite.dev/docs/filesystems says the following:
> "We would recommend using the IndexedDB VFS in the browser at the current time as the OPFS VFS is not supported by Safari."
Is it possible to configure PGLite to use IndexedDB on Safari and OPFS on Chrome & Firefox?
- netghost 2y agoLooks like you configure it with the connection string, so assuming you can just detect whether OPFS is available or swap based on the browser you should be fine.