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

Invalidate client cache after some time #54

Closed
MaSch0212 opened this issue Jun 13, 2024 · 0 comments · Fixed by #90
Closed

Invalidate client cache after some time #54

MaSch0212 opened this issue Jun 13, 2024 · 0 comments · Fixed by #90
Labels
enhancement New feature or request high-priority This issue has a high priority

Comments

@MaSch0212
Copy link
Owner

Currently, when installing the App on a mobile device, the app state is persisted as long as the app is still in memory.
As admins change data, the changes are not refreshed in the other users apps. This will be finally addressed with #26. But as this feature is quite large, maybe we can just invalidate the client cache after some time has passed, or the app gets refocused.

So maybe when opening the app, after is has been put in the background, the client removed cached data, so they get reloaded. Will need to check what the current state is (maybe you care currently editing an event), because you do not want to remove the whole state.

@MaSch0212 MaSch0212 added enhancement New feature or request high-priority This issue has a high priority labels Jun 13, 2024
@MaSch0212 MaSch0212 moved this to Todo in Minigolf Friday Jun 15, 2024
@MaSch0212 MaSch0212 linked a pull request Jun 22, 2024 that will close this issue
MaSch0212 added a commit that referenced this issue Jun 22, 2024
@github-project-automation github-project-automation bot moved this from Todo to Done in Minigolf Friday Jun 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request high-priority This issue has a high priority
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

1 participant