[buddypress-trac] [BuddyPress Trac] #9203: Cache `BP_Groups_Member::total_group_count()`
buddypress-trac
noreply at wordpress.org
Tue Jun 25 03:35:39 UTC 2024
#9203: Cache `BP_Groups_Member::total_group_count()`
--------------------------+-------------------------
Reporter: espellcaste | Owner: espellcaste
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: Up Next
Component: Groups | Version:
Severity: normal | Keywords: needs-patch
--------------------------+-------------------------
For large communities, this method runs an expensive query that's
uncached.
I noticed slow query notices while visiting the `https://site.com/groups/`
page with a 50k groups dataset.
We should cache it.
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/9203>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list