Support » Plugin: Redis Object Cache » Clarification on when to use WP_CACHE_KEY_SALT

  • I just wanted to clarify the wording of the WP_CACHE_KEY_SALT description. It mentions to use WP_CACHE_KEY_SALT when using “multiple installs”.

    Does this include multisite installations, or only completely separate installations of WordPress?

Viewing 1 replies (of 1 total)
  • Daniel Kanchev

    (@danielkanchev)

    SiteGround Representative

    The WP_CACHE_KEY_SALT should be used when two or more WordPress sites (separate installations – they could even be on different servers) use one and the same Redis server for object caching. The idea is that both WP sites will attempt to read/write keys with one and the same names.

    That is why in case many WordPress sites (again this is a separate WP site installation) use the Redis server it is important to have prefixes. Without prefixes domain2.com will get the wp options of domains1234.com from the Redis database.

Viewing 1 replies (of 1 total)
  • The topic ‘Clarification on when to use WP_CACHE_KEY_SALT’ is closed to new replies.