[buddypress-trac] [BuddyPress Trac] #5979: `bp_core_userdata_` cache is unnecessary

buddypress-trac noreply at wordpress.org
Tue Nov 18 15:22:32 UTC 2014

#5979: `bp_core_userdata_` cache is unnecessary
 Reporter:  johnjamesjacoby  |       Owner:
     Type:  defect (bug)     |      Status:  new
 Priority:  high             |   Milestone:  2.2
Component:  Members          |     Version:
 Severity:  normal           |  Resolution:
 Keywords:  has-patch        |

Comment (by johnjamesjacoby):

 Replying to [comment:14 boonebgorges]:
 > we call `bp_core_remove_data()`, which flushes the entire cache!! Um, we
 probably should not do this.
 This sounds vaguely familiar. I think because spamming a user intersects
 several counts and queries, it made more sense to brute-force-flush at the
 time this was put in. Maybe to flush friends or group memberships or
 something else too?

 We'll no doubt run into a few more cases like this, where a more targeted
 caching strategy should be implemented.

Ticket URL: <https://buddypress.trac.wordpress.org/ticket/5979#comment:15>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac

More information about the buddypress-trac mailing list