Note
I'm done with this. If someone wants to maintain it send me a note and I'll transfer the repo. Or just fork it, or whatever.
Redis cache for GNU social
Status: early dev proof of concept
Installation
- Navigate to your
/local/plugins
directory (create it if it doesn't exist) git clone https://github.com/chimo/gs-rediscache.git RedisCache
- Run
composer install
in theRedisCache
folder to install the dependencies
Configuration
Tell /config.php
to use it with (replace 127.0.0.1:6379
with the address/port of your Redis backend server):
$config['rediscache']['connection'] = [ 'tcp://127.0.0.1:6379' ];
addPlugin('RedisCache');
You can also use a unix socket instead of a tcp connection:
$config['rediscache']['connection'] = [ 'unix:/var/run/redis/redis.sock' ];
addPlugin('RedisCache');