imgrate redis cache into project