fetch-cached-dns
JSON →Decorator for fetch that caches DNS resolutions per hostname, reducing DNS lookup overhead on repeated requests to the same host. Version 2.0.5 is the latest stable release; the project is a fork of @vercel/fetch-cached-dns with ongoing maintenance. Unlike other fetch wrappers, it transparently integrates with any fetch-compatible library (defaults to node-fetch) and handles redirects with an onRedirect callback. Suitable for high-throughput Node.js services where DNS latency is a bottleneck.
Resources
packagefetch-cached-dns ↗