History, bookmarks, tabs info storage
I have a general question regarding history and bookmark API design. I would suggest to use SQLite for the storing backend for the both of them. Ideally, the same database allowing us to make searches easily.
From looking around, storage of these components is done via
- Falkon: bookmarks json, history sqlite
- Sailfish Browser: bookmarks json, history sqlite
- Firefox: stores all in places.sqlite (history + bookmarks), makes bookmarks backup as json.lz4
I would suggest to go for Firefox-type of solution with periodic backup of either full DB or bookmarks only. Thinking of it, maybe tabs info could go to the same database, just other table.
Thoughts regarding it?
Edited by Rinigus Saar