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

fix(persons): bypass cache on the persons page #22503

Merged
merged 2 commits into from
May 24, 2024

Conversation

thmsobrmlr
Copy link
Contributor

@thmsobrmlr thmsobrmlr commented May 24, 2024

Problem

We're now caching all queries, which means results on the persons page get stale.

Changes

This PR adds an alwaysRefresh option for queries, to force a refresh. Alternatively/additionally we could prevent caching of certain types of queries backend side again - let me know your thoughts.

Edit: Also doing the same cohort people and group events too now.

How did you test this code?

Locally + modified a request to prod

Copy link
Contributor

Size Change: 0 B

Total Size: 1.03 MB

ℹ️ View Unchanged
Filename Size
frontend/dist/toolbar.js 1.03 MB

compressed-size-action

@thmsobrmlr thmsobrmlr requested a review from a team May 24, 2024 14:08
@thmsobrmlr thmsobrmlr merged commit bbd95a0 into master May 24, 2024
83 checks passed
@thmsobrmlr thmsobrmlr deleted the fix-persons-management-2 branch May 24, 2024 14:26
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