Automattic / wp-memcached

Memcached Object Cache for WordPress.
https://wordpress.org/plugins/memcached/
GNU General Public License v2.0
159 stars 55 forks source link

Explain WP_CACHE_KEY_SALT in README #31

Closed paulschreiber closed 4 years ago

paulschreiber commented 6 years ago

When using the object-cache.php drop-in with multiple sites, users will see unexpected behaviour (such as being redirected to site A when they attempt to load site B).

To avoid this, one must define WP_CACHE_KEY_SALT in wp-config.php.

It would be very helpful to put this in the README.

paulschreiber commented 6 years ago

See also: https://core.trac.wordpress.org/ticket/44425

xpat commented 5 years ago

Agreed. I ran into this when I installed the Redis Object Cache By Till Krüss last night on a second site. I'm still googling this to figure out how to make it go away.