-
Notifications
You must be signed in to change notification settings - Fork 135
Closed
Description
Hi team,
Since the 0.8.3 release and the feature > Improvement: Cache calendar items for each user individually to prevent potential cache pollution. Props justnorris.
We are having cache problems.
When we update content, the cached version is not updated.
The cache key is based on the user_id ( $cache_key = $post->ID . $can_modify . '_' . get_current_user_id(); ) but when you delete the cache , the key has no user_id ($post_id . 'can_modify' )
https://github.com/Automattic/Edit-Flow/blob/master/modules/calendar/calendar.php#L1800
Could you delete cache for user or remove user_id in cache key to have cache for all users ?
Thanks a lot