Support » Plugin: Redis Object Cache » store the cache of two WordPress sites

  • Dear,

    We have two wordpress applications running on the same web server.
    1) Blog of the site; and
    2) Woocommerce – online course of company

    Both applications use the w3 total cache and have the bundle of data on another server.
    REDIS CACHE is also configured on the web server.

    the application that uses woocommerce is configured so that the cache is stored in redis.

    However, if I activate the blog application so that the database cache is stored in redis, the servers seem to get confused – the blog thinks it’s on the wocommerce site or woocommerce thinks it’s on the blog site.

    This even caused me problems with login and site addresses.

    In the wp-config.php settings, it is defined as follows:
    define (‘WP_CACHE_KEY_SALT’, ‘courses *****’);
    define (‘WP_CACHE’, true);

    both sites (woocommerce and blog) have the ‘WP_CACHE_KEY_SALT’ entry different

    however, it looks like I can not cache two sites at once. That’s right? Is there a solution?

    tks

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

    (@tillkruess)

    Try clearing your object cache after setting the key salt.

    Also, I wouldn’t use an object cache when using page caching with w3 total cache.

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