Wtyczka nie została przetestowana z trzema ostatnimi głównymi wydaniami WordPressa. Może nie być już utrzymywana lub obsługiwana, co może skutkować problemem ze zgodnością z nowszymi wersjami WordPressa.

Memcached Redux

Opis

Zmienia słynny obiekt pamięci podręcznej Memcached WP, aby faktycznie używał klasy Memcached (nie klasy Memcache). Implementuje wp_cache_get_multi() i wp_cache_set_multi()

wp_cache_get_multi( array(
    array( 'key', 'group' ),
    array( 'key', '' ),
    array( 'key', 'group' ),
    'key'
) );

wp_cache_set_multi( array(
    array( 'key', 'data', 'group' ),
    array( 'key', 'data' )
) );

Wpis na blogu: http://scotty-t.com/2012/06/05/memcached-redux/

Instalacja

  1. Zainstaluj memcached na co najmniej jednym serwerze. Zanotuj informacje o połączeniu. Wartość domyślna to 127.0.0.1:11211.

  2. zainstaluj rozszerzenie PECL memcached

  3. Skopiuj object-cache.php do wp-content

Recenzje

2020-06-19
Well, the plugin does its Job (cloud/centos7/apache/php/fpm/7.3 + memcached) fine. However, my site is quite komplex (multilingual, bbpress, aso..). Yesterday I had to make some changes (new pages) and the menu-system completely fell apart. It was not possible to add menu items, the connect between language-versions fell appart – horrible. Issue was finally solved by renaming the object_cache.php in wp_contend. So: The performance is really fine, but admin have to know what they are doing and disable plugin when changing (at least) menues.
2019-02-20
Using the object cache plugin on my VPS from Upcloud managed with Serverpilot. Result? Everything feels much faster Using now php7.2 and can’t wait that the memchached extension becomes available for php7.3
2018-01-10 1 odpowiedź
Works with PHP7 amd Amazon Elasticache memcached. [link removed] Thank you for making this available.
2016-09-03
Memcached PHP extension and memcached servers are widely supported by many hosts these days (2016). So, this plugin just works with most hosts. Now, I can’t see any site without using this plugin for WP Object Cache!
Przeczytaj 9 recenzji

Kontrybutorzy i deweloperzy

„Memcached Redux” jest oprogramowaniem open source. Poniższe osoby miały wkład w rozwój wtyczki.

Zaangażowani

Rejestr zmian

0.1.7

  • Poprawiono sanityzację danych wyjściowych debugowania przeniesionych z wtyczki Memcached (props @batmoo).
  • Naprawiono powiadomienie PHP, gdy nie określono ręcznie Memcached serwer:port.

0.1.6

  • Corrected documentation
  • Corrected stats collection (props @johnbillion)

0.1.5

  • Added support for PHP 7+ by changing to __construct and pre-initializing stats

0.1.3

  • Added support for WP_CACHE_KEY_SALT allowing multiple sites to use the same Memcached server.

0.1.2

  • Allows graceful fallback to database object cache in WordPress 3.7+ for users without PECL Memcached available.
  • Fixes warning due to replace() call, as it does not take a compression argument in Memcached.

0.1.1

  • Fixes a problem with the get_option() function and the return value of wp_cache_get() on Linux

0.1

  • Initial release