Skip to:

Opened 8 weeks ago

#8462 new enhancement

bp_core_clear_cache should be filterable

Reported by: shawfactor Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version:
Component: Core Keywords:


Right now bp_core_clear_cache just calls prune_super_cache( $cache_path, true );

This has two major problems, namely

  1. it is complete overkill (especially on multisite) as this clears the entire wp super cache cache.
  1. This just relies on wp super cache, if the code stays it should be a general solution

There ae two solutions. Either remove the code entirely (probably the best one)


Change the code such you can filter the circumstances in which you want to delete the cache. And maybe change the caching mechanism through a filter.

Change History (0)

Note: See TracTickets for help on using tickets.