[buddypress-trac] [BuddyPress] #3841: BuddyPress wipes out Wordpress cache

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Mon Dec 12 16:24:18 UTC 2011


#3841: BuddyPress wipes out Wordpress cache
--------------------------+-----------------------------
 Reporter:  sooskriszta   |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Future Release
Component:  Core          |     Version:  1.5.1
 Severity:  normal        |  Resolution:
 Keywords:  2nd-opinion   |
--------------------------+-----------------------------
Changes (by boonebgorges):

 * keywords:   => 2nd-opinion
 * severity:  critical => normal
 * milestone:  Awaiting Review => Future Release


Comment:

 Can anyone articulate the original purpose for this cache clearing, aside
 from the somewhat vague inline comment: "When wp-super-cache is installed
 this function will clear cached pages so that success/error messages are
 not cached, or time sensitive content."

 Clearing cache on login doesn't really make any sense anyway. If you were
 really that concerned about caching time-sensitive content, you would
 clear that cache on every page load. (I'm not suggesting that we do that!)

 Can we just remove this bit altogether? For proper cache clearing, depend
 on two things:
 - BP functions that update a database value that is cached should be
 running wp_update_cache() (I don't know of anywhere where this does *not*
 happen)
 - if there is a problem with a specific kind of content, site admins can
 configure WPSC to ignore that URL

 Objections?

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/3841#comment:1>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list