Diogo Cordeiro e858629ac3 [aab] Revert structural change of v2 5 yıl önce
..
locale e858629ac3 [aab] Revert structural change of v2 5 yıl önce
MemcacheModule.php caf00429b5 Merge branch 'new_modules_system' into experimental 5 yıl önce
README 34bfdc3e91 [CORE] Refactor Plugin API to Module API 5 yıl önce

README

The Memcache plugin implements cache interface for memcache.

See: http://memcached.org/

Installation
============
add "addModule('Memcache');"
to the bottom of your config.php

Settings
========
servers: Array of memcache servers addresses
defaultExpiry: How long before cache expires (in seconds)
compressThreshold: Items over this size threshold are eligible for compression (in bytes)
compressMinSaving: If the compression would save more than this ratio, items are eligible for compression

Note: To be compressed, an item must be both over the size threshold AND save
more than the minimum ratio.

Example
=======
addModule('Memcache', array(
'servers' => array('127.0.0.1;11211'),
'compressThreshold' => 20480,
'compressMinSaving' => 0.2,
'defaultExpiry' => 86400 // 24h
));