[buddypress-trac] [BuddyPress Trac] #5398: Review metadata caching across components

buddypress-trac noreply at wordpress.org
Mon Feb 17 00:35:27 UTC 2014


#5398: Review metadata caching across components
--------------------------+---------------------------
 Reporter:  boonebgorges  |       Owner:  boonebgorges
     Type:  task          |      Status:  assigned
 Priority:  normal        |   Milestone:  2.0
Component:  Core          |     Version:
 Severity:  normal        |  Resolution:
 Keywords:                |
--------------------------+---------------------------

Comment (by boonebgorges):

 In [changeset:"7903"]:
 {{{
 #!CommitTicketReference repository="" revision="7903"
 Don't prime groupmeta cache in BP_Groups_Group::__construct()

 groups_get_groupmeta() now uses the core API functions. get_metadata()
 works by
 priming the cache with *all* object metadata when requesting any piece of
 metadata for that object. This means that, instead of pre-fetching
 groupmeta
 when instantiating BP_Groups_Group, we wait until it happens in
 get_metadata().
 At best, this can help us to avoid pre-fetching a meta cache that will not
 be
 used.

 See #5398
 }}}

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


More information about the buddypress-trac mailing list