Best practices storing html fragments in synched online/offline Database

Hi there!

I’m working on a project on union participation.
I have been searching for some time for a cms solution for ionic, but didn’t find the perfect solution. So i decided to go for a local db, that is synched when the user goes online.
I need to store html strings (a.k.a.) fragments, that then get loaded dynamically. Theres also some pictures that should go in the db. The app is mostly offline, only using the online db for synching.
I stumbled onto pouchDB, but haven’t tried it yet. Firebase seems like a bad idea, since mostly the app is offline.

I would be happy about any advice.