It's pretty easy to configure caching with redis in shopware6!
On our TurboStack you have redis and redis persistent available so you can create a config file like:
config/packages/redisconfig.yaml
framework:
session:
handler_id: 'redis:///var/run/redis-persistent/redis.sock/1'
cache:
prefix_seed: shopware
app: cache.adapter.redis
default_redis_provider: "redis:///var/run/redis/redis.sock/1"
pools:
cache.object:
default_lifetime: 86400
adapter: cache.app
tags: cache.tags
cache.http:
default_lifetime: 86400
adapter: cache.app
tags: cache.tags
cache.tags:
adapter: cache.app