gnu-social/plugins/Memcached
2016-02-08 17:48:37 +00:00
..
locale Snapshot of the Transifex translation project - October 2015 2015-10-04 18:23:01 +02:00
MemcachedPlugin.php Change status.net/wiki URLs to git.gnu.io 2016-02-08 17:48:10 +00:00
README Add plugin READMEs 2016-02-08 17:48:37 +00:00

The Memcached plugin implements cache interface for memcached.

See: http://memcached.org/

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

Settings
========
servers: Array of memcached servers addresses
defaultExpiry: How long before cache expires (in seconds)

Example
=======
addPlugin('Memcached', array(
    'servers' => array('127.0.0.1;11211'),
    'defaultExpiry' => 86400 // 24h
));