[buddypress-trac] [BuddyPress Trac] #9203: Cache `BP_Groups_Member::total_group_count()`

buddypress-trac noreply at wordpress.org
Sun Jul 14 20:18:59 UTC 2024


#9203: Cache `BP_Groups_Member::total_group_count()`
-------------------------+--------------------------
 Reporter:  espellcaste  |       Owner:  espellcaste
     Type:  enhancement  |      Status:  closed
 Priority:  normal       |   Milestone:
Component:  Performance  |     Version:
 Severity:  normal       |  Resolution:  invalid
 Keywords:               |
-------------------------+--------------------------
Changes (by espellcaste):

 * keywords:  needs-patch =>
 * status:  assigned => closed
 * resolution:   => invalid
 * milestone:  15.0.0 =>


Comment:

 Turned out the template is using the right function. The problem was that
 I was not using an object cache service locally, so the request was going
 to the db every time.

 After adding an object cache service, the cache kicked in and the warning
 was gone.

 Let's resolve this as invalid.

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/9203#comment:6>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list