Memcached or disk backend support for the WP Object Cache. Memcached server running and PHP Memcached class needed for better performance.
Improve your server performance using Memcached for object caching or improve your server performance using disk support for object caching.
Less resources needed and better pagespeed.
Less database queries needed.
Detects automatically any Memcached server running 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 in case 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
Added Memcached server flush functionality. You can now easily flush your Memcached server’s cache directly from the plugin. Click the “Flush cache” link in the plugin description to clear the cache.
Added WordPress 6.4 compatibility. The plugin has been updated to ensure seamless compatibility with the latest version of WordPress, version 6.4.
Added functionality to enable the plugin in additional staging or development environments on the same server.
Implemented WordPress best practices and reorganized server info.
Flush cache on plugin activation/deactivation
Sanitize wrong keys
Disable Disk Object cache conditionally
Showing Memcached stats
PHP 8.2 Deprecation Test
Declare your own Memcached Server instance
More accurate message information
New strings
Updated WordPress compatibility
New strings
Updated WordPress compatibility
PHP 8.x compatibility
Improvements, more default servers added.
Added SiteGround Memcached server automatically.
Initial release.