[buddypress-trac] [BuddyPress Trac] #7237: Incrementor-based query caching for the Activity component

buddypress-trac noreply at wordpress.org
Wed Aug 31 15:43:27 UTC 2016


#7237: Incrementor-based query caching for the Activity component
--------------------------+------------------
 Reporter:  boonebgorges  |       Owner:
     Type:  enhancement   |      Status:  new
 Priority:  normal        |   Milestone:  2.7
Component:  Activity      |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |
--------------------------+------------------

Comment (by dcavins):

 I really like the generalized functions for handling "last changed" cache
 invalidation. It will make it much easier to standardize across BP, and
 make it easier to add caching without adding the "last changed" check
 everywhere.

 Is there any reason to limit the function `bp_core_get/set_cached_ids()`
 to IDs? Could it more generally be `bp_core_get/set_cached_data()` and
 some cached data just happens to be IDs?

 I think this is a great idea overall as it will make performance
 improvements easier to do in a lot of places. Cool!

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


More information about the buddypress-trac mailing list