Redis can be enabled if cache is True
Added redis requirement