Redis cache not working

Here is the snippet of my user/config/system/yml file:

cache:
  enabled: true
  check:
    method: file
  driver: redis
  redis:
    server: 127.0.0.1
    port: 6379
  prefix: g
  lifetime: 604800
  gzip: false

redis-cli --scan shows no keys added.

Please create an issue on GitHub: https://github.com/getgrav/grav/issues

I did test it at the very start, but not recently, but it looks like at some point I removed Redis support: https://github.com/getgrav/grav/blob/develop/system/src/Grav/Common/Cache.php#L120-L164

I don’t remember the reason, but probably could be added back.

FYI to anyone else reading this thread: Redis support has been added back into Grav. Docs are also updated.