Re: Controling buffer: php/smarty or apache?

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

 



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
> 

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