• Resolved menathor

    (@menathor)


    Hi guys,

    I’d like to use one instance of Memcached or Redis for object caching multiple sites. But I need to make sure clearing the object cache on one site doesn’t clear the object cache for every site. A couple of questions:

    Do I need to create separate databases (and use the Redis Database ID field) to do that with Redis? Or can I use one database for all sites?

    Also, is there a way of doing this with Memcached? I’d prefer to Memcached if possible.

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support qtwrk

    (@qtwrk)

    Hi,

    yes, you do need to separate DB in redis to prevent one to access data of others

    I am not familiar with memcached , but we have a memcached replacement which may fit you need, that comes with SASL authentication and separated slots for each user

    https://www.litespeedtech.com/open-source/litespeed-memcached

    Best regards,

    Hi qtwrk,

    I have LiteSpeed UNLIMITED license, the one sold by cPanel: Dedicated (3-Worker) (LSCache Standard). Should I install litespeed-memcached (LSMCD) in addition to it?

    I already have “LiteSpeed Cache” wp plugin installed on a wp site where I’m testing it. Should I uninstall Redis on my server and delete “Redis Objet Cache” wp plugin after litespeed-memcached (LSMCD) installation?

    After litespeed-memcached (LSMCD) is installed on my server, all wp sites having “LiteSpeed Cache” wp plugin will connect and benefit from it, or additional setup is needed at the wp site level?

    Thank you for your orientation, I’m new on LiteSpeed and a beginner on this object cache topic.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Object caching for multiple sites – Redis vs Memcached’ is closed to new replies.