3 ms·
I'd love to switch direct to this, but it needs Firefox to support OPFS or for some form of IndexedDB workaround akin to absurd-sql to be upstreamed for my use
by Macha 4y ago
I'd love to switch direct to this, but it needs Firefox to support OPFS or for some form of IndexedDB workaround akin to absurd-sql to be upstreamed for my use case where I'd like storage to be persistent.
At least Firefox OPFS is under development and looking at the tracking ticket seems to have accelerated in January
- benjaminjackman 4y agoThat's exciting about Firefox, though I really wish that firefox would support OPFS in such a way as to allow selecting the directory where the files are located, beyond just persistence, there are some use cases where that is required (vscode.dev for example).
- streptomycin 4y agoUnfortunately, the whole point of OPFS is to not do that. Mozilla and Apple thought it'd be bad for security to let you read/write arbitrary files/folders on the real file system, even with a permissions dialog, so a fake filesystem only viewable by an individual website was the compromise solution that everyone agreed to implement.
- paulirish 4y agoFor the others that weren't familiar, OPFS === Origin Private FS. https://developer.mozilla.org/en-US/docs/Web/API/File_System_Access_API https://developer.mozilla.org/en-US/docs/Web/API/File_System...