Configure caching with Redis as optionnal feature