Understanding “Ignored Groups” and how to best apply
-
I am unclear on what “Ignored Groups” is as there isn’t 1:1 parity between the references I’ve seen and db tables. If they are a more abstract ‘cache groups’, how do you discover what cache groups are set, in order to ignore them?
Further to this…
I am using a plugin in a multisite environment. This installs tables prefixed with the blog ID. I want to exclude any version of that table/queries to that table ever being stored in Redis, because it’s infrequent access with a lot of rows. I believe that storing the data from these tables is causing my redis to go into swap.
So knowing that there is a table called
wp_111_wp2static_log, should I adddefine( 'WP_REDIS_IGNORED_GROUPS', 'wp2static_log' );towp-config.php?Even if this is the case, I feel like I should be adding
wp2static_logvia a php function, because in my diagnostics, I already have more than the default set, and I wouldn’t want to lose this config:Ignored Groups: [ "counts", "plugins", "themes", "wordfence", "wordfence-ls" ]Would that also be correct? Do you have an example of how this could be achieved please?
The topic ‘Understanding “Ignored Groups” and how to best apply’ is closed to new replies.