Deprecate MemcacheEngine and update defaults for Memcached

People should switch to Memcached instead. The underlying extension is
better maintained and provides improved features and performance.

Collapse the persistent and persistentId settings, while also making
non-persistent connections the default. Persistent connections should be
an opt-in feature as having them enabled by default could go very wrong
on shared hosting environments.
This commit is contained in:
mark_story 2013-08-31 13:20:41 -04:00
parent 9e8c4ad285
commit 9b0e26cc21
4 changed files with 13 additions and 10 deletions

View file

@ -24,7 +24,8 @@
* control you have over expire times far in the future. See MemcacheEngine::write() for
* more information.
*
* @package Cake.Cache.Engine
* @package Cake.Cache.Engine
* @deprecated You should use the Memcached adapter instead.
*/
class MemcacheEngine extends CacheEngine {