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

Smarter exercise api cache #1128

Open
rolandgeider opened this issue Sep 24, 2022 · 0 comments
Open

Smarter exercise api cache #1128

rolandgeider opened this issue Sep 24, 2022 · 0 comments

Comments

@rolandgeider
Copy link
Member

At the moment, the exercise api cache prevents changes from being shown after performing updates or similar.

Currently we simply cache the whole response based on the URL parameters, but we could add something cleverer (need to consider that this would also apply to changes to the base, any new images or videos, etc.)

wger-project/react#438

rolandgeider added a commit that referenced this issue Jul 24, 2023
This gives us a more fine-grained way of handling the cache as well as allowing
us to clear it and do a general warm up for all users (previously the cache was
getting computed by URL parameters). This still needs to be cleared when a new
exercise is edited or added to the database, though

See #1128
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

No branches or pull requests

1 participant