[buddypress-trac] [BuddyPress Trac] #7245: Updating user last_activity doesn't bust activity query cache

buddypress-trac noreply at wordpress.org
Mon Sep 5 12:37:55 UTC 2016

#7245: Updating user last_activity doesn't bust activity query cache
 Reporter:  boonebgorges            |       Owner:
     Type:  defect (bug)            |      Status:  new
 Priority:  normal                  |   Milestone:  2.7
Component:  Members                 |     Version:
 Severity:  normal                  |  Resolution:
 Keywords:  has-patch dev-feedback  |

Comment (by DJPaul):

 Such a short-lived cache would have little value to the significant
 majority of BuddyPress of sites. However, there is no harm in keeping it.
 Having it stored in a separate cache group surely is better than
 everything getting flushed so frequently. I think using `strpos` to
 identify the query is going to be too naive, but the idea's sound.

 Another idea is updating the last_activity timestamps less frequently.
 Say, every 15 minutes instead of every 5 minutes. We'd still not want this
 to destroy all the cached activity groups, so the work here is still
 useful/required. But maybe that's a discussion to be had in its own ticket
 if it's something we want to pursue with this batch of changes.

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

More information about the buddypress-trac mailing list