3 ms·
I wrote a PWA which functioned as a calories counter and exercise tracker. I stored the data on the client using indexedDB, offering an export/import option fo
by apatheticonion 7y ago
I wrote a PWA which functioned as a calories counter and exercise tracker.
I stored the data on the client using indexedDB, offering an export/import option for manual backups.
I wasn't interested in the data and it's simpler to just store it on the client rather than setting up the infrastructure required to centrally persist this information.
It's really unfortunate that it's not a reliable storage medium.
- gnaritas 7y ago> It's really unfortunate that it's not a reliable storage medium. That's not what it's for, you're just misusing the tool for something it isn't meant to be. It's not a database, it's a cache.