[buddypress-trac] [BuddyPress Trac] #5398: Review metadata caching across components
buddypress-trac
noreply at wordpress.org
Sun Feb 16 23:51:33 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:"7901"]:
{{{
#!CommitTicketReference repository="" revision="7901"
Don't prime activitymeta cache in BP_Activity_Activity::construct()
bp_activity_get_meta() 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
activitymeta
when instantiating BP_Activity_Activity, 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:6>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list