Added caching support through redid.