The HTTP connection to a hostname for the first time takes little longer than subsequent requests. Especially, DNS lookup takes long.
I am trying to implement a basic DNS pre-fetcher/resolver using InetAddress or Runtime.getRuntime().exec() in order to improve the HTTP requests performance in ANDROID java without using any third-party library.
Thank you, Niz