Add timestamp in redis cache

My attempt to add `isExpired` method to the redis cache as well.