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

Decouple projects/plans overview cache from user activity #5510

Open
m4ra opened this issue Feb 14, 2024 · 0 comments
Open

Decouple projects/plans overview cache from user activity #5510

m4ra opened this issue Feb 14, 2024 · 0 comments
Labels
Dev: Backend issue related to backend Prio: Medium fixed and released with next scheduled release Type: Enhancement small improvements to site - less then half story point Type: Performance issue related to website, e.g. speed

Comments

@m4ra
Copy link
Contributor

m4ra commented Feb 14, 2024

URL: https://meinberlin-dev.liqd.net/projekte/
user: any user
expected behaviour: Project overview speed is fast, and not related to first page load in order to save the cache
behaviour: Cache is saved after the first user interaction with the page, so first time is slow, and last till the cache timeout, see redis cache in settings/production.py
important screensize: mobile? desktop?
device & browser: e.g. Desktop, firefox 68.0.2 (64-Bit)
Comment/Question: Possible solutions:

  • cache a serialized queryset using the StatusFilter for each status,
  • or call the api endpoint from the celery task
  • or cache a serialized queryset and remove the not related statuses from json manually in the api list view,
  • or make a database view to store the queryset, aka a virtual table

If needed or helpful you can add a screenshot. Since issues are public, make sure to not display personal or secret data.

@m4ra m4ra added Type: Enhancement small improvements to site - less then half story point Type: Performance issue related to website, e.g. speed Dev: Backend issue related to backend Prio: Medium fixed and released with next scheduled release labels Feb 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Dev: Backend issue related to backend Prio: Medium fixed and released with next scheduled release Type: Enhancement small improvements to site - less then half story point Type: Performance issue related to website, e.g. speed
Projects
None yet
Development

No branches or pull requests

1 participant