i have news base needs work online , offline. i'm using couchdb (ibm cloudant ) , pouchdb make sync app.
the problem news relatively "heavy" having photos , having sync problems because size of "docs", , not see need synchronize news base, fill user's mobile phone unnecessary records.
i need sync news, approx. 5 registers. wonder how can in couchdb or pouchdb.
i looked in sync + filters documentation not answer me question of amount of sync docs (or @ least did not see if possible).
i'm using view pull news.
since you're using view pull news, can use limit
limit number of documents fetch. can use since
determine when need fetch next batch of documents (this have executed periodically check existence of new documents)
if go down route , if app doesn't need need client -> server replication use lighter pouchdb store documents , other info on client.
Comments
Post a Comment