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

curl-and-php

Re: cURL very slow to fetch internal page

From: <lobos_at_webvida.com>
Date: Wed, 24 Nov 2004 22:34:37 +1300

Yes it is strange cause it works fast on my home server, but terrible on my
remote host... the rest of thse site works fine and fast, it is just this -
and it is getting the data from the same server, i don't get it...

Thanks for your reply

----- Original Message -----
From: "Daniel Stenberg" <daniel-curl_at_haxx.se>
To: <lobos_at_webvida.com>; "Programming PHP/CURL" <curl-and-php_at_cool.haxx.se>
Sent: Thursday, November 25, 2004 8:24 AM
Subject: Re: cURL very slow to fetch internal page

> 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-25