Post
This is much different than normal caching because this data stays up to date. If you make the same query again, the results will be *instantly* available *and already up to date with server*.
0 reposts2 likes
If you make a different query the data from the background query is used client-side to answer the new query instantly if possible. This all happens completely automatically. Just by adding the ttl flag. Learn more about Zero's query-based sync: zero.rocicorp.dev/docs/reading...
zero.rocicorp.devZero DocsThe official documentation for Zero by Rocicorp.