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

buddypress-trac noreply at wordpress.org
Thu Sep 1 03:27:05 UTC 2016


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

Comment (by boonebgorges):

 In [changeset:"11053"]:
 {{{
 #!CommitTicketReference repository="" revision="11053"
 Introduce cache incrementor functions.

 A cache incrementor is a unique string that allows for easy bulk
 invalidation of specific cache items. In the BuddyPress context, this
 is useful for things like object queries. Object queries have more
 permutations of query parameters than can be individually invalidated.
 As a workaround, we can ensure that all cache keys for query results
 are hashed with the same incrementor; bumping this incrementor will
 then effectively invalidate all of these caches.

 See #7237.
 }}}

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


More information about the buddypress-trac mailing list