template for redis support