• Resolved Nathan Monk

    (@nathansmonk)


    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 add define( 'WP_REDIS_IGNORED_GROUPS', 'wp2static_log' ); to wp-config.php?

    Even if this is the case, I feel like I should be adding wp2static_log via 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?

Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Understanding “Ignored Groups” and how to best apply’ is closed to new replies.