Skip to:
Content

BuddyPress.org

Changes between Version 1 and Version 2 of Ticket #7477, comment 5


Ignore:
Timestamp:
03/29/2017 08:45:09 PM (8 years ago)
Author:
r-a-y
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #7477, comment 5

    v1 v2  
    11I'm concerned about the cache purging strategy when we use `bp_core_get_incremented_cache()` to fetch the group cache, especially when working with the edit group slug ticket (#6014).
    22
    3 If group A changes their slug from `old-slug` to `new-slug` and Group B is created with the slug `old-slug`.  Wouldn't using `BP_Groups_Group::group_exists( 'old-slug' )` return Group A due to how the cache key in `bp_core_get_incremented_cache()` works?
     3If group A changes their slug from `old-slug` to `new-slug` and Group B is created with the slug `old-slug`.  Wouldn't using `BP_Groups_Group::group_exists( 'old-slug' )` return Group A due to how the cache key in `bp_core_get_incremented_cache()` is generated?
    44
    55How does cache invalidation work here?