4 ms·
> persistent Question: is it really persisted indefinitely? And will this SQLite file be portable (import and export to somewhere else) ?
by Existenceblinks 4y ago
> persistent
Question: is it really persisted indefinitely? And will this SQLite file be portable (import and export to somewhere else) ?
- srcreigh 4y agoIt’s not persistent everywhere. On iOS the data is deleted after 7 days of inactivity on a website. It’s treated like a cache. https://webkit.org/blog/12257/the-file-system-access-api-with-origin-private-file-system/ https://webkit.org/blog/12257/the-file-system-access-api-wit... https://web.dev/storage-for-the-web/#:~:text=Starting%20in%20iOS%20and%20iPadOS,not%20interact%20with%20the%20site https://web.dev/storage-for-the-web/#:~:text=Starting%20in%2....
- tehbeard 4y agoMissed one part from web.dev > ...This eviction policy does not apply to installed PWAs that have been added to the home screen.
- sgbeal 4y ago> And will this SQLite file be portable (import and export to somewhere else) ? sqlite's storage format is independent of the underlying device. OPFS is "just another backend" and the only tricky part of implementing it was that OPFS's API is largely asynchronous and sqlite3 requires synchronous I/O. The db that's stored in OPFS is exactly what would be stored on your hard drive if you were operating outside of the browser.