Simplify the code that creates a new cache entry from a refresh response so that it is more understandable.