• Resolved plimsb99

    (@plimsb99)


    Hello,
    I would like to exclude the cache group ?meta_user“ from being cached.
    I have inserted the following code to my wp-config.php file:

    define( ‘WP_REDIS_IGNORED_GROUPS’, [‘user_meta’] );

    After that I manually flushed the cache to see if it affects the cache group. However the meta_user data was flushed.

    What does that mean?

    Is my code snippet wrong?
    Or does a manual flush ignore the exclusion?

Viewing 1 replies (of 1 total)
  • Plugin Author Till Krüss

    (@tillkruess)

    Hello!

    Adding user_meta to the list of ignored groups, does not make it permanent, quite the opposite, it causes the keys of that group to never be stored in Redis.

Viewing 1 replies (of 1 total)
  • The topic ‘Exclude cache group question’ is closed to new replies.