Support » Plugin: Memcached Object Cache » Compatible with WooCommerce?

Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Author Andrija Vučinić

    (@aidvu)

    Should be.

    Thread Starter knguyen2011

    (@knguyen2011)

    THank you. How can I make it work with multiple Woo stores on the same server?

    Plugin Author Andrija Vučinić

    (@aidvu)

    Hey, did you try it as is? What problem are you facing? This is using wp_cache_add which should prefix with blog_id on multisite.

    Thread Starter knguyen2011

    (@knguyen2011)

    It seemed to have problem with WP core

    Cannot redeclare wp_cache_add() (previously declared in wp-includes/cache.php:41/

    Plugin Author Andrija Vučinić

    (@aidvu)

    Ah, I see. Did you follow the installation steps here?

    https://wordpress.org/plugins/memcached/#installation

    This one doesn’t just install like a plugin. Some manual work is required.

    Thread Starter knguyen2011

    (@knguyen2011)

    Got it. Ty. Just a question. Why it asked for memcache instead of memcached?

    Plugin Author Andrija Vučinić

    (@aidvu)

    > Why it asked for memcache instead of memcached?

    There are 2 PHP extensions for Memcached:

    memcache
    memcached

    They have different APIs, and this plugin was written for the memcache extension.

    Thread Starter knguyen2011

    (@knguyen2011)

    Thank you. I set the key for different domain but the second domain got the cache for the first domain.
    Here is for the first domain
    define( ‘WP_CACHE_KEY_SALT’, ‘thefirstdomain’ );

    here is for the second domain:
    define( ‘WP_CACHE_KEY_SALT’, ‘forthesecondomain’ );

    I think there is something wrong

    Plugin Author Andrija Vučinić

    (@aidvu)

    Hmm, are these 2 different sites on the same server? We’re running a lot of sites in parallel and it works just fine.

    Are you sure it’s connecting to memcached server fine? Can you debug a bit?

    Thread Starter knguyen2011

    (@knguyen2011)

    Yes, It connected to memcached server just fine but the second site got the cache from the first site.

    These two sites are on the same server. I’m so nervous. I had to disable WooComemrce and reactivate again and the cached went out.

    Plugin Author Andrija Vučinić

    (@aidvu)

    Hmm, maybe you ran it first time before setting the values? You can always restart memcached server when you have set the values and see if it’s ok?

Viewing 11 replies - 1 through 11 (of 11 total)
  • You must be logged in to reply to this topic.