Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Perf: set cache time to 5m #3400

Merged
merged 1 commit into from
Apr 8, 2024
Merged

Conversation

patosullivan
Copy link
Member

I think it's worth trying this on wannec to see if it helps with the issue we're seeing of the app getting progressively slower overtime (and also getting much faster when the user clears the cache).

Five minutes is the suggested "sane" cache time by tanstack. We could bump it out to maybe a day or something if five minutes is too noticeable.

Copy link
Member

@latter-bolden latter-bolden left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I share your concern that 5 minutes will be too noticeable, but we can start there and see how things feel on wannec

@patosullivan patosullivan merged commit 470b22d into develop Apr 8, 2024
1 check passed
@patosullivan patosullivan deleted the po/set-cache-time-to-five-minutes branch April 8, 2024 14:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants