[buddypress-trac] [BuddyPress Trac] #6978: Friends: Add caching to BP_Friends_Friendship class

buddypress-trac noreply at wordpress.org
Tue Sep 20 14:42:10 UTC 2016


#6978: Friends: Add caching to BP_Friends_Friendship class
------------------------------------+-----------------------------
 Reporter:  r-a-y                   |       Owner:  dcavins
     Type:  enhancement             |      Status:  accepted
 Priority:  normal                  |   Milestone:  Future Release
Component:  Friends                 |     Version:  1.0
 Severity:  normal                  |  Resolution:
 Keywords:  dev-feedback has-patch  |
------------------------------------+-----------------------------

Comment (by dcavins):

 In [changeset:"11123"]:
 {{{
 #!CommitTicketReference repository="" revision="11123"
 Introduce BP_Friends_Friendships::get_friendships().

 Introduce a new function, `BP_Friends_Friendships::get_friendships()`,
 for fetching and filtering friendships for a
 specific user. Also add a new cache group,
 `bp_friends_friendships_for_user` that
 `get_friendships()` interacts with.

 This is the second step in moving toward a
 split cache approach for friendships.

 Props dcavins, boonebgorges.

 See #6978.
 }}}

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


More information about the buddypress-trac mailing list