Ignoring cache group not working
-
I am using a vendor plugin for WooCommerce namely Dokan.
Within Dokan there is a widget to show the status of every product.
When I create a new product the initial status is set to pending. After switching to the widget it shows me the total count of pending products, which is 0 in my case.After flushing the cache, the total count is being displayed correctly.
So I assume it has to do with Redis or Dokan.Upon contacting Dokan what could be the issue they answered:
Yes, we have a cachekey $count – wp_cache_set( $cache_key, $counts, ‘dokan’ );
So I added
define( 'WP_REDIS_IGNORED_GROUPS', ['dokan'] );
into the wp-config.php.But the problem still persists.
Does anyone know what could be the source of my problem?
- The topic ‘Ignoring cache group not working’ is closed to new replies.