Automattic / wp-memcached

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

Confusing installation #150

Closed nicksterious closed 1 year ago

nicksterious commented 1 year ago

Hello

The installation instructions are a bit confusing.

I've copied object-cache.php under /wp-content/object-cache.php and nothing happens. There's no indication of the cache working anywhere in the WP admin, site load speed has not changed.

If I try copying the file under /wp-content/plugins/memcached/object-cache.php it shows up as a plugin on the WP Plugins section but can't turn it on as it can't redeclare wp_cache_add()

Memcached is installed and running properly, stats show some bytes written/read so maybe it's actually working? Can't know for sure without browsing through the cache...

Also I run WPMU, does that make any difference?

Cheers!

dd32 commented 1 year ago

Hi @nicksterious,

Object caches are a rather low-level WordPress functionality, and it may not be immediately obvious that it's operational.

You can use debugging plugins such as Query Monitor or Debug Bar to view the object cache stats.

You should also see something related in the Site Health section (Tools -> Site Health), if it's not enabled you'll see a You should use a persistent object cache warning.

Also I run WPMU, does that make any difference?

No, The object cache works with it just fine :)