[buddypress-trac] [BuddyPress Trac] #6341: 'bp' cache group cleanup

buddypress-trac noreply at wordpress.org
Thu Oct 8 05:45:25 UTC 2015


#6341: 'bp' cache group cleanup
-----------------------------+------------------
 Reporter:  johnjamesjacoby  |       Owner:
     Type:  task             |      Status:  new
 Priority:  normal           |   Milestone:  2.4
Component:  API - Cache      |     Version:  1.0
 Severity:  normal           |  Resolution:
 Keywords:                   |
-----------------------------+------------------

Old description:

> Back when BuddyPress was a wee little plugin, we used the `bp` global
> cache group for everything.
>
> Now that BuddyPress is all grown up and we have more query complexity
> requiring more cached data, we can afford to introduce more appropriate
> cache groups for each component and purpose.
>
> This will be a master ticket for ongoing cache group adjustments in 2.3.

New description:

 Back when BuddyPress was a wee little plugin, we used the `bp` global
 cache group for everything.

 Now that BuddyPress is all grown up and we have more query complexity
 requiring more cached data, we can afford to introduce more appropriate
 cache groups for each component and purpose.

 This will be a master ticket for ongoing cache group adjustments in 2.3.

 ----

 From #6114:

 For example

 * The entire Blogs component uses this group, instead of its own
 `bp_blogs` group.
 * `bp_activity_sitewide_front` uses `bp` rather than `bp_activity`
 * Friends uses `bp` for member relationships.
 * Groups uses `bp` for total group counts and user memberships.
 * XProfile uses `bp` for groups and visibility levels.

 I think most of these would benefit from having/using their own global
 cache group.

--

Comment (by r-a-y):

 Marked #6114 as a duplicate and have copied the relevant ticket info to
 this ticket description.

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


More information about the buddypress-trac mailing list