Wishlist (Redis) Caching issue
-
Hi!
I am using your super nice wishlist plugin, which has been working like a charm!
Last week I implemented a new functionality on my webshop, where I show the total items in the wishlist in the navigation menu.
However, there seems to be an issue, caused by my Redis Object Cache plugin, because it returns a cached value for the total amount of items.The cache plugin offers a feature to ignore certain groups, but that doesn’t do the trick for me.
I added this to my config:
define(‘WP_REDIS_IGNORED_GROUPS’, array(
‘yith_wcwl’,
‘yith_wcwl_update_wishlist_count’,
));Is the group name incorrect or should I exclude this functionality from my cache in another way?
Or is there a way to invalidate the cache when adding/removing something from the wishlist?
- The topic ‘Wishlist (Redis) Caching issue’ is closed to new replies.