Object Cache 4 everyone

plugin banner

Memcached or disk backend support for the WP Object Cache. Memcached server running and PHP Memcached class needed for better performance.

Author:fpuenteonline (profile at wordpress.org)
WordPress version required:5.0
WordPress version tested:7.0
Plugin version:2.3.3
Added to WordPress repository:16-05-2020
Last updated:11-06-2026
Rating, %:84
Rated by:30
Plugin URI:https://wordpress.org/plugins/object-cache-4-...
Total downloads:82 476
Active installs:4 000+
plugin download
Click to start download

Improve your server performance by using Memcached for object caching or by using disk support for object caching.

Fewer resources needed and better PageSpeed.

Fewer database queries needed.

Automatically detects any running Memcached server and adds an object-cache.php file to your WordPress site.

Default memcached servers tested:
– 127.0.0.1:11211
– 127.0.0.1:11212
– 127.0.0.1:11213
– 127.0.0.1:20000
– 127.0.0.1:20001
– Any SiteGround Memcached setup

Since 1.4, you can declare your own Memcached Server instance in the wp-config.php file.
Example:
define(‘OC4EVERYONE_MEMCACHED_SERVER’, ‘127.0.0.1:11211’);

Starting from version 1.6, you have the option to declare in the wp-config.php file whether you want to use the external disk object cache if the Memcached Server is not present.
Outdated or malfunctioning disks can negatively impact website performance.
Example:
define(‘OC4EVERYONE_DISABLE_DISK_CACHE’, true);

This plugin includes a modified template from this project:
https://github.com/humanmade/wordpress-pecl-memcached-object-cache
A WordPress object cache that uses the memcached (not memcache) PECL extension.
Thanks to Zack Tollman & 10up


ChangeLog