
Object Cache 4 everyone
v2.3.3fpuenteonline · 2020年5月16日 上架
Memcached or disk-based WP Object Cache. Boosts performance and reduces DB queries. Auto-configures and supports custom servers.
- 正在使用
- 5,000+
- 评分
- 4.2 / 5
- 累计下载
- 8.2 万
- 最近更新
- 2026年6月11日
贡献者
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