Better strategy for preventing host conflicts.
Cache in a temporary file