• Resolved Olaf Lederer

    (@finalwebsites)


    Hi,

    I used the plugin for a couple of days for my Woocommerce shop and suddenly customer complained that they can’t login anymore.
    The strange thing is that it doesn’t happened to until I tried to login via the my-account page. After this I was logged out too.

    So it looks like I need to ignore some wp_cache groups.
    There is no exact information on the how the different groups are named in Woocommerce. Is this the right way to do this?

    
    PHP Version: 7.0.15
    Multisite: No
    Redis: 3.1.1
    Predis: 1.1.1
    Status: Connected
    Client: PECL Extension (v3.1.1)
    WP_REDIS_IGNORED_GROUPS: ["counts","plugins","comment","mymail","themes","my-account","cart","checkout","addons"]
    ...
    

    Thanks!

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

    (@tillkruess)

    Yeah, you probably have to disable some cache groups using the WP_REDIS_IGNORED_GROUPS constant, not sure which ones tho.

    
    define( 'WP_REDIS_IGNORED_GROUPS', [
        'counts', // keep this
        'plugins', // keep this
        'order', // woocommerce orders
        '...',
    ] );
    
    • This reply was modified 9 years, 1 month ago by Till Krüss.
    Thread Starter Olaf Lederer

    (@finalwebsites)

    Hi Till,

    yeas right, “order” is a good one. But where to find the other (good) group names?
    Is based on the slug or post type? There is some information on the page about object cache, but these group names doesn’t describe anything about WooCommerce…
    Is see that some plugins define them automatically, for example MyMail.

    Plugin Author Till Krüss

    (@tillkruess)

    I’d talk to the WooCommerce support team, or read through the source code of WooCommerce.

    Thread Starter Olaf Lederer

    (@finalwebsites)

    I had the same idea after my previous reply 🙂

    Thanks for your help!

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

The topic ‘WP_REDIS_IGNORED_GROUPS’ is closed to new replies.