use redis as offline message cache