dev-master
9999999-devTYPO3 backend cache based on predis
MIT
The Requires
cache extension redis typo3
1.0.0
1.0.0.0TYPO3 backend cache based on predis
MIT
The Requires
cache extension redis typo3
TYPO3 backend cache based on predis
Instead of using the PHP extension "redis" like the build-in TYPO3 Redis caching backend, this one uses the predis (https://github.com/nrk/predis) library - so no PHP extension is required!, (*1)
Most of this library is identical to the build-in redis backend, I simply changed the redis calls., (*2)
composer require b3n/typo3-predis-cache
return [ 'SYS' => [ 'caching' => [ 'cache_pages' => [ 'backend' => \B3N\TYPO3\Cache\Backend\RedisBackend::class, 'options' => [ 'defaultLifetime' => 0, 'predis' => [ 'options' => [], 'parameters' => [ 'tcp://127.0.0.1:6379', ], ], ], ], ], ], ];
return [ 'SYS' => [ 'caching' => [ 'cache_pages' => [ 'backend' => \B3N\TYPO3\Cache\Backend\RedisBackend::class, 'options' => [ 'defaultLifetime' => 0, 'predis' => [ 'options' => [ 'replication' => true, ], 'parameters' => [ 'tcp://127.0.0.1:6379?alias=master', 'tcp://127.0.0.1:6379', ], ], ], ], ], ], ];
You can pass every setting like you would when you use predis directly. For more information please have a look here: https://github.com/nrk/predis#how-to-install-and-use-predis, (*3)
TYPO3 backend cache based on predis
MIT
cache extension redis typo3
TYPO3 backend cache based on predis
MIT
cache extension redis typo3