Use putSync when available for populating cache from queries, fixes #180
Use putSync when available for populating cache from queries, fixes #180

(cherry picked from commit 1dbb25d9b7712a03e827c8ac18bf8131665e8436)

kfranqueiro/dstore,kfranqueiro/dstore,kfranqueiro/dstore,kfranqueiro/dstore