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

buddypress-trac noreply at wordpress.org
Thu Sep 1 00:34:57 UTC 2016

#7237: Incrementor-based query caching for the Activity component
 Reporter:  boonebgorges  |       Owner:
     Type:  enhancement   |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  Activity      |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |
Changes (by boonebgorges):

 * status:  new => closed
 * milestone:  2.7 =>


 I think @dcavins is correct that this isn't just for ID arrays; I realized
 after I (hurriedly) posted the patch this morning that I'd forgotten the
 same treatment for the `COUNT` query. `cached_data` seems to general,
 though; this is, specifically, data that's cached using a key hashed with
 an incrementor so it can be invalidated en masse. Not sure how to
 summarize that in a function name :) Maybe
 `bp_core_set_cached_data_with_incrementor()`? It's not melodious, but it's
 fairly descriptive.

 > If we ever wanted to introduce a "common" library outside of the
 getting-pretty-cluttered "core", this might be a good candidate for that.

 Agreed - mental note.

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

More information about the buddypress-trac mailing list