effector / effector/farfetched
Strange Behavior of cache
Open
scope:core
- Dominant language
- TypeScript
- Stars
- 221
- Forks
- 36
- PR merge metrics
- No merged PRs in 30d
Description
First behavior
Cache does not block the second query call if it was made with a short time interval like a 1500ms
Second behavior
The timer in cache is reset whenever query is called. This means that staleAfter will never work if the interval between query calls is less than StaleAfter
[reproduce](https://codesandbox.io/p/devbox/query-cache-bug-zhs785)
Contributor guide
Assessment
This issue has not been assessed yet.