Re: Controling buffer: php/smarty or apache?
| From: | robert mena | Date: | Mon, 23 Jan 2006 09:08:17 +0000 |
| Subject: | Re: Controling buffer: php/smarty or apache? | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-229061@lists.php.net to get a copy of this message | ||
Hi David,
Thanks for the reply.
I am aware of this 'browser' issue but it seems that it's not the case.
I'll look again but since I do not use tables only divs/css I am running out
of option on the html site.
On 1/22/06, David Tulloh <david@tulloh.id.au> wrote:
>
> The browsers use a whole bunch of different ways to figure out how it
> should render the page and if it should do it on the fly or wait until
> the page is fully downloaded.
>
> Assuming the content you are testing is the same for the static and
> dynamic pages you should probably start looking for little things that
> may be different. From what I've read, adding extra column information
> to the table tag and making sure the doctype is correct so you don't end
> up in quirks mode are both large factors.
>
> Using 'wget ---save-headers' and 'diff' will help you find any small
> difference between the pages.
>
>
> David
>
> robert mena wrote:
> > Hi,
> >
> > I am facing a strange problem. My site, even tough designed to appear
> > quickly at user's browser, appears at "once". If I test the static HTML
> > version it starts to appear as downloaded If I test the php generated
> > version the page seems render as a whole.
> >
> > I am using smarty as a template and it seems to be related to a buffer
> > somewhere: php/smarty or apache.
> >
> > I've used microtime and from the begin of the php script until after the
> > smarty->display it takes from 0.05s (min) to 0.32s (max)
> >
> > Any tips of how can I figure out what is "slowing" down my site?
> >
> > tks
> >
>
>