You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 28, 2021. It is now read-only.
I’ve been thinking about remote queries, your approach to caching could help do that too. There are times where you just need to perform the query on the server side so the HTTP API call does that with the query string params holding the details of the query (number of photos, search keyword…). The result is kept in the NSURLCache and Couchbase Lite. And then have the results of that query mapped to a channel the user has access to so that they are periodically updated and injected back in NSURLCache by the sync engine.
That works well for getting updates of documents in a channel, but I’m wondering about new documents that would match the query. I don’t think they would be picked up by the sync engine as they wouldn't be in the channel. What do you think?
I’ve been thinking about remote queries, your approach to caching could help do that too. There are times where you just need to perform the query on the server side so the HTTP API call does that with the query string params holding the details of the query (number of photos, search keyword…). The result is kept in the NSURLCache and Couchbase Lite. And then have the results of that query mapped to a channel the user has access to so that they are periodically updated and injected back in NSURLCache by the sync engine.
That works well for getting updates of documents in a channel, but I’m wondering about new documents that would match the query. I don’t think they would be picked up by the sync engine as they wouldn't be in the channel. What do you think?