Skip to content

Conversation

thomasleese
Copy link
Contributor

This updates TeamCachedCounts to cache the values in the header to ensure a more performant page load instead of needing to query the latest information from the database each time.

Jira Issue - MAV-2006

@thomasleese thomasleese added this to the v4.2.2 milestone Sep 16, 2025
@thomasleese thomasleese requested a review from a team as a code owner September 16, 2025 14:04
@thomasleese thomasleese added the performance Improving performance label Sep 16, 2025
@thomasleese thomasleese requested a review from a team as a code owner September 16, 2025 14:04
@thomasleese thomasleese force-pushed the cache-navigation-header-counts branch 2 times, most recently from e48034b to 8e72d2f Compare September 17, 2025 09:11
@thomasleese thomasleese force-pushed the cache-navigation-header-counts branch from 8e72d2f to 657c22d Compare September 17, 2025 11:30
@thomasleese thomasleese requested a review from a team as a code owner September 17, 2025 11:30
@thomasleese thomasleese changed the base branch from next to v4.2.2-wip September 17, 2025 11:30
@thomasleese thomasleese force-pushed the cache-navigation-header-counts branch from 657c22d to 8181b4a Compare September 17, 2025 12:03
This will be used to configure Rails caching using Redis.

Jira-Issue: MAV-2006
This enables the use of Redis as a backend for the Rails cache, allowing
for the cache to be distributed across the various web instances.

Jira-Issue: MAV-2006
This adds a service class which is responsible for displaying counts in
the headers and navigation bar. At the moment, this just refactors the
existing code to use this class, but it allows us in the future to cache
these values and improve performance.

Jira-Issue: MAV-2006
This updates `TeamCachedCounts` to cache the values in the header to
ensure a more performant page load instead of needing to query the
latest information from the database each time.

Jira-Issue: MAV-2006
@thomasleese thomasleese force-pushed the cache-navigation-header-counts branch from 8181b4a to e16ebb8 Compare September 17, 2025 12:22
Copy link

@thomasleese thomasleese merged commit 9489d95 into v4.2.2-wip Sep 17, 2025
22 checks passed
@thomasleese thomasleese deleted the cache-navigation-header-counts branch September 17, 2025 12:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
performance Improving performance
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants