cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: DNS cache size control

From: Jacky Lam <sylam_at_emsoftltd.com>
Date: Thu, 18 Apr 2002 10:23:44 +0800

On Thursday 18 April 2002 09:58, P J wrote:
> Hi Jacky,
>
> Sorry I didn't mean to email you directly, I meant to email the libcurl
> list.
>
> Quick question though.. I'm not using global cache, I'm using libcurl with
> a perl script with no expire on the cache (CURLOPT_DNS_CACHE_TIMEOUT, -1).
> I'm running the perl script multiple times and each script might visit
> several hundred sites. Do you think it will affect me?
>
>

        Will you reuse your handle to download URL? In my case, I reuse a handle
forever (until it dies..). If you just make use of your handle to download
1-10 sites, it won't cause you too much.

Jacky
Received on 2002-04-18