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
As mentioned in the comment in the referenced issue, this is because a new cache is created each time you run a Fetch, by default. If, instead, you want to cache between requests, you should use runCache instead which returns the cache, which you can in turn pass to each subsequent Fetch request. It will then use that and properly fetch the element from the local cache.
I will create a PR to clear this up in the README so that this behavior is much more obvious.
There is this example of caching at the end of readme:
Isn't this just a deduplication? I mean, results are not saved to the next call:
The text was updated successfully, but these errors were encountered: