Avoid setting the IP in the cache twice