|
Posted by Brian Jones on 09/27/12 11:13
A page that has been developed in our environment takes on average 0.5
seconds to load on our average desktop, including the display() call.
Unfortunately, some of our users were experiencing up to 18 seconds
load time. After replacing the display() call with fetch(), the
trouble user load times came back down to reasonable levels.
I wish I could say we have narrowed down what may have caused this,
but the problem occurs randomly on Windows 2000 boxes, Windows XP
boxes, and using either Firefox or Internet Explorer. It was
consistant on the machine which had the problem regardless of the
browser used. I would also like to note that the users have roaming
profiles, and they logged into machines that seem to work and had no
issues.
Our server environment is IIS 6 on Windows 2003 Server, running PHP
Version 4.3.10. The php.ini is stock in regards to any kind of values
that specify timeouts/sizes/etc.
The only difference made which appeared to fix the problem was again,
switching a display() call to echoing out a fetch() call. I'd hate to
end up having to rely on fetch() this whole time, especially because
the default output from a stock Smarty install doesn't display
debugging info (we hacked the code to include this for the time
being).
Does anyone have any ideas what may be going on here, and why
display() is apparently hanging on random machines (yet consistantly)?
Brian "bojo" Jones
--
the philosophy of bojo - http://www.mojobojo.com/
Navigation:
[Reply to this message]
|