Moves redis caching to own extension