cURL / Mailing Lists / curl-and-php / Single Mail

curl-and-php

Re: cURL very slow to fetch internal page

From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Wed, 24 Nov 2004 20:24:37 +0100 (CET)

On Wed, 24 Nov 2004 lobos_at_webvida.com wrote:

> Now sometimes the page loads fast (1-2 seconds) and other times it loads
> slow (8-10 seconds)
>
> should I be using cURL or should I use fread or fopen?

curl generally works very fast. When not, it is usually something in your
environment that is the cause.

I would suggest that you ethereal the network when curl operates, as then you
can detect what packages that take a long time. I would suspect the name
resolving.

-- 
      Daniel Stenberg -- http://curl.haxx.se -- http://daniel.haxx.se
       Dedicated custom curl help for hire: http://haxx.se/curl.html
Received on 2004-11-24