I\'m using Redis to manage some caching within my Symfony 3.4 app, configured like this:
config.yml
framework:
cache:
defaul
Yes you have to set a fixed key (as they said in the Symfony Doc).
You can use also the environment name (dev, staging, prod... - SYMFONY_ENV
or APP_ENV
) with the application name if you want to use the same Redis cluster for staging and prod for example.
framework:
cache:
...
prefix_seed: '%kernel.environment%_myapp'
...