[buddypress-trac] [BuddyPress Trac] #6978: Friends: Add caching to BP_Friends_Friendship class
buddypress-trac
noreply at wordpress.org
Tue Sep 6 04:22:42 UTC 2016
#6978: Friends: Add caching to BP_Friends_Friendship class
--------------------------+-----------------------------
Reporter: r-a-y | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Future Release
Component: Friends | Version: 1.0
Severity: normal | Resolution:
Keywords: dev-feedback |
--------------------------+-----------------------------
Comment (by boonebgorges):
@dcavins General approach seems pretty good to me. Does
[attachment:6978.caching.01.patch] need a refresh after recent changes to
`bp_get_user_groups()`? See eg [10978], [10977], #7208.
How much extra work would it be to split friendship queries, so that we're
doing an ID query and then filling the objects from the cache? (I think
that's what @r-a-y was originally suggesting.) This would better parallel
what's happening in other components, and would give performance
improvements when viewing a single user's profile.
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/6978#comment:4>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list