Re: Scripts are fast locally, but slow on remote server

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dave M G wrote:

> PHP list,
> 
> I have a set of PHP scripts that seem to be efficient and quick enough
> both on my home testing environment, and a few different web-hosting
> services I use.
> 
> However, on one particular web-hosting service, there is often a very
> painful 10 second (!) lag when first loading up the scripts. This long
> lag time can sometimes be manifest not just on the first page loaded,
> but the second and maybe third as well.
> 
> But then after the first initial pages are loaded, the site seems to
> speed up to what I would consider normal download pages for times.

Might this be a name-server issue?  For whatever reason the first
invocation waits for a time-out, which could take a while, but the
second gets an near-immediate response as the negative answer is now
cached. 


/Per Jessen, Zürich

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux