basic redis cache support
make code work without redis online