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
{{ message }}
Repository navigation
Layouts are not caching data after initial staleTime #2980
In the basic-file-based example, which has defaultStaleTime: 5000, there is a posts page that links to individual posts. When hovering a post link it should preload that post, but not reload the data for the parent layout (the posts page) until it's data is stale.
However, when putting the example under a bit of pressure by hovering all the post links many times quickly, after the initial stale time of 5s TSR starts reloading data for the current layout on every single hover. It's never cached again. See this video where the Fetching posts... message starts being logged for every hover after the initial 5s stale time. If this was working as intended there should never be a Fetching posts... message being logged with less than 5s in between.
Activity
[-]Layouts are not caching data[/-][+]Layouts are not caching data after initial staleTime[/+]test: pin 24 community-reported issues fixed by the match-loading wor…