2 ms·
Persistence is the whole point to me for a Database. OPFS finally adding a filesystem to the browser made seem like the web file database situation could finall
by koolala 2y ago
Persistence is the whole point to me for a Database. OPFS finally adding a filesystem to the browser made seem like the web file database situation could finally standardize but
COOP/COEP ruins it.
- eirikhm 2y agohttps://github.com/rhashimoto/wa-sqlite https://github.com/rhashimoto/wa-sqlite
- sgbeal 2y ago> OPFS finally adding a filesystem to the browser made seem like the web file database situation could finally standardize but COOP/COEP ruins it. We have two OPFS-based VFSes. One requires COOP/COEP and one does not. Each makes feature trade-offs, though, so they're not equivalent. We also offer persistence via localStorage and sessionStorage, so OPFS is not (for small databases) required for persistence.