mirror of
https://review.haiku-os.org/haiku
synced 2025-01-21 05:53:46 +01:00
f972422c66
netresolv (and libbind) won't cache DNS requests, which can result in a lot of DNS requests being made for the same host. Implement a simple cache in RAM (local to each application) which will keep the most recently requested addresses cached. This can speed up loading of an HTTP page a lot, by saving a DNS request for each resource stored on the same server as the main page.