Re: 1.4 second lag before page loads
| From: | Justin Patrin | Date: | Thu, 12 Aug 2004 17:01:09 +0000 |
| Subject: | Re: 1.4 second lag before page loads | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-193604@lists.php.net to get a copy of this message | ||
On Thu, 12 Aug 2004 14:07:52 +0100, Adrian Teasdale <adrian@inovica.com> wrote:
> Hi there
>
> On one site we have a 1.4 second delay before a page loads. We've added
> mod_gzip and mmCache to the server. Mod_gzip has definitely helped with
> the speed of page loading, but this 1.4 second delay is still there.
> The browser hits the page, then there is a delay on 1.4 seconds before
> the page comes back. We have uploaded the page as a static page and
> this does not happen, so I'm presuming that this is a php or mysql
> issue. Any ideas or suggestions of how to track it down?
>
Use a profiler or an IDE which can do profiling. Check your queries to
see if they're inefficient.
https://www.reversefold.com/tikiwiki/tiki-index.php?page=PHPFAQs#id924218
Without more specific details, I can't help you. What is your code
doing? What kind of queries are you running? How much data is there?
> The timestamp shows as:
>
> 21:06:10:215270 - when it hits the page
> 21:06:11:646549 - when the page starts loading
>
--
DB_DataObject_FormBuilder - The database at your fingertips
http://pear.php.net/package/DB_DataObject_FormBuilder
paperCrane --Justin Patrin--