symfony - How to setup Sylius to use Redis as Cache Backend -
according https://github.com/doctrine/doctrinecachebundle#cache-providers there several parameters necessary use redis instead of file_system cache backend.
in main configuration file of sylius, there 1 area put cache settings:
app/config/parameters.yml
sylius.cache: type: redis (was file_system)
where put rest?
- connection_id - redis connection service id
- host - redis host
- port - redis port
thanks!
you can use syntax:
sylius.cache: type: redis namespace: sylius redis: host: localhost port: 6379 database: 10
sylius creates doctrine cache provider configuration.
Comments
Post a Comment