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

consider adding counter records #106

Open
madhums opened this issue Feb 1, 2024 · 2 comments
Open

consider adding counter records #106

madhums opened this issue Feb 1, 2024 · 2 comments

Comments

@madhums
Copy link
Member

madhums commented Feb 1, 2024

We display counters in many places

  • story updates count in the stories listing page
  • discussions count in the story detail page
  • posts count in the discussion detail page

AR gives a nice counter_cache option which we can use. Consider this?

@madhums madhums converted this from a draft issue Feb 1, 2024
@madhums
Copy link
Member Author

madhums commented Feb 2, 2024

Since we use discard and the native counter_cache doesn't support it, perhaps consider https://github.com/magnusvk/counter_culture/

@madhums
Copy link
Member Author

madhums commented Feb 2, 2024

And since we also use Mobility, we might definitely bump in to magnusvk/counter_culture#344

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Todo
Development

No branches or pull requests

1 participant