This package provides possibility to benefit from using different data serializers and compressors when using Redis.
Currently supported serializers:
- igbinary
Currently supported compressors:
- lzf
Run the following from your eZ Platform installation root:
composer require ezsystems/ezplatform-redis:dev-master
Enable the bundle in app/AppKernel.php:
$bundles = array(
// existing bundles
new EzSystems\EzPlatformRedisBundle\EzPlatformRedisBundle(),
);
You have to configure the bundle in your app/config/ezplatform.yml
or app/config/config.yml
as above:
ez_platform_redis:
serializer: igbinary // possible options: native, igbinary
compressor: lzf // possible options: none, lzf
marshaller: default // possible options: default