We learn about the default cacheExchange
that urql provides. The default cacheExchange
is a document cache. Document cache's hash the query and variables as the key as store the result under that key.
Urql's cacheExchange
has multiple request policies:
cache-first
is the default request policy.