Ignore GLOBAL Groups
-
Hi,
I’m having a problem that I know it has to have a easy way to solve it.
On my site I have some courses, on this ones, you can only see some lessons if previus lessons are completed. The problem is that when completing a lesson the next one remains blocked. I’ve flushed redis cache and PING!! Solved, but only for that time, when next lesson is completed happens the same, I need to flush cache again and again (this is no good).
To me, this means that the data is stored on redis cache, so the solution, is not to cache that data (must be user data). I looked up on the Documentation and defined WP_REDIS_IGNORED_GROUPS on wp-config as follows:
I know that cache data must be on some user group, but for the sake ot testing I disable all groups showed on Query Monitor.
define('WP_REDIS_IGNORED_GROUPS', array('users', 'useremail', 'userlogins', 'user_meta', 'usermeta', 'userslugs', 'blog-details', 'blog-id-cache', 'blog-lookup', 'global-posts', 'networks', 'rss','sites','site-details', 'site-lookup','site-options','site-transient', 'blog-meta'));After it, I flushed the cache again before testing again (even redis-cli flushall on terminal), nothing happens. Checked Query monitor and the above groups are included on the Ignored groups box, but also on Global groups, so I tried WP_REDIS_GLOBAL_GROUPS and only include ‘site-options’, but still the same default global groups when checking Query Monitor.
The plugin runs greate and I know that is doing what is told to do but I want to exclude all groups even globals, to try one by one, as it has to be one of them.
Any tips would be greate!
Thank you in advance
The page I need help with: [log in to see the link]
The topic ‘Ignore GLOBAL Groups’ is closed to new replies.