• Resolved samwebdev

    (@samwebdev)


    Hello,

    What would be the cache groups to ignore for woocommerce cart?

    WP_REDIS_IGNORED_GROUPS (default: [‘cart’])

    regards

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

    (@tillkruess)

    I don’t think there is a cache group for the cart, however, please ask the WooCommerce team to assist you with this to make sure.

    Thread Starter samwebdev

    (@samwebdev)

    Is it possible to define the object that do not want Redis to cache?

    such as WC_Cart

    WP_REDIS_IGNORED_OBJECTS([WC_Cart]);

    that might solve the issue

    Plugin Author Till Krüss

    (@tillkruess)

    No, this plugin is just a backend that provides access to Redis. What WooCommerce or WC_Cart do in regards to caching is entirely up to them. I’d suggest you speak to the WooCommerce team about your problem.

    Mikey

    (@mikeyhash)

    @samwebdev have you figured this out?

    I’m also having issues here. In my case, when object cache is enabled, products will not be added to cart anymore and will always give an error that the cart is empty.

    When object cache is disabled, everything goes back to normal.

    Any suggestions?

    Plugin Author Till Krüss

    (@tillkruess)

    Try asking the WooCommerce support about this. I sure they know which cache groups to ignore. However this shouldn’t happen, might be a bug inside of WC.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Cache Groups for Woocommerce cart’ is closed to new replies.