[buddypress-trac] [BuddyPress Trac] #5377: Cache some frequently used values in notifications component

buddypress-trac noreply at wordpress.org
Thu Mar 27 19:04:30 UTC 2014


#5377: Cache some frequently used values in notifications component
---------------------------+---------------------------
 Reporter:  boonebgorges   |       Owner:  boonebgorges
     Type:  enhancement    |      Status:  closed
 Priority:  normal         |   Milestone:  2.0
Component:  Notifications  |     Version:
 Severity:  normal         |  Resolution:  fixed
 Keywords:                 |
---------------------------+---------------------------

Comment (by r-a-y):

 In [changeset:"8176"]:
 {{{
 #!CommitTicketReference repository="" revision="8176"
 Notifications: Invalidate cache when a notification is updated.

 Object caching was added to the notifications component in r7813.
 However, the cached item was not invalidated whenever a notification
 is updated (either by using one of the marked as read functions or via
 using the BP_Notifications_Notification::update() method).

 This commit invalidates the cache directly in the update() class
 method and adds a unit test.

 See #5377
 }}}

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


More information about the buddypress-trac mailing list