changes to use redis as a cache for first page of history