MDL-48506 cachestore_memcached: added shared cache config option
authorRyan Wyllie <ryan@moodle.com>
Thu, 14 Apr 2016 07:37:20 +0000 (07:37 +0000)
committerRyan Wyllie <ryan@moodle.com>
Mon, 18 Apr 2016 07:18:24 +0000 (07:18 +0000)
commit33688fbfe690f0747792a0a1077126d940d43ce5
tree350b6db926a3ac64e4453822805cc187af7045cf
parent7797d7ead0c628cbff2bf888cb7eef621350ab08
MDL-48506 cachestore_memcached: added shared cache config option

When added a memcached instance you can now select whether the cache is
being shared by other applications. The setting will determine the
purging strategy.

Shared caches will have individual keys deleted while dedicated caches
will have the entire cache purged (better performance over networks).

Note: This option only works with the correct version of the php
memcached extension and with the multi-site safe changes.
cache/stores/memcached/addinstanceform.php
cache/stores/memcached/lang/en/cachestore_memcached.php
cache/stores/memcached/lib.php
cache/stores/memcached/tests/memcached_test.php
cache/upgrade.txt