Object Cache 4 everyone

Description

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

Reviews

24 de septiembre, 2023
Works better than LiteSpeed Cache With the Litespeed cache plugin → Database Query 100+ With this plugin → Database Query 50+
25 de agosto, 2023
Sure, I looked at the "it made my site 2x slower" post, but the other 5 star reviews tells a better story. This plugin absolutely works, and it also drastically reduced the MySQL CPU. The default of 64MB is too small, I gave memcached 256M and so far, so good.
3 de agosto, 2023 3 replies
When activated makes my site 2x slower. And when i deactivated it and tried to delete it, it would not delete.....
2 de agosto, 2023
If you (or some of your plugins) is using transients this plugin is a MUST.Wordpress stores transients on database... not the best choice IMHO. But this plugin fixes that. Simply install and it autodetects your memcached localhost instance. And it works!You can check data is there by running memcdump --servers=localhost.And now the memcached location can be configured too. But, if you do not have any memcached server then do not worry: it uses your file system as storage. It is great!
19 de julio, 2023 2 replies
Es un plugin simplemente perfecto, que cubre la necesidad de ofrecer caché de objetos persistente y así evitar consultas frecuentes a la base de datos. Lo mejor del plugin es que solo hay que instalarlo, activarlo, y dependiendo de si el servidor tiene un sistema de caché de objetos o no, utiliza la del servidor o la realiza mediante caché de disco. En ambos casos WordPress detecta la caché de objetos y así lo refleja en la herramienta de salud del sitio. El rendimiento mejora mucho, sobre todo en tiendas online y foros, en ocasiones mejor que con los plugins exclusivos del hosting. ¡Gracias @fpuenteonline !
Read all 19 reviews

Contributors & Developers

“Object Cache 4 everyone” is open source software. The following people have contributed to this plugin.

Contributors

“Object Cache 4 everyone” has been translated into 1 locale. Thank you to the translators for their contributions.

Translate “Object Cache 4 everyone” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

2.1 – 2023-09-19

Added functionality to enable the plugin in additional staging or development environments on the same server.

2.0 – 2023-09-15

Implemented WordPress best practices and reorganized server info.

1.8 – 2023-09-13

Flush cache on plugin activation/deactivation

1.7 – 2023-08-19

Sanitize wrong keys

1.6 – 2023-08-09

Disable Disk Object cache conditionally

1.5 – 2023-08-03

Showing Memcached stats

1.4.3 – 2023-08-02

PHP 8.2 Deprecation Test

1.4 – 2023-08-02

Declare your own Memcached Server instance
More accurate message information
New strings

1.3 – 2023-07-26

Updated WordPress compatibility
New strings

1.2 – 2023-06-12

Updated WordPress compatibility
PHP 8.x compatibility

1.1 – 2020-05-20

Improvements, more default servers added.
Added SiteGround Memcached server automatically.

1.0 – 2020-05-16

Initial release.