Re: Controling buffer: php/smarty or apache?

From: Date: Mon, 23 Jan 2006 13:13:25 +0000
Subject: Re: Controling buffer: php/smarty or apache?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-229077@lists.php.net to get a copy of this message
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 yes..use cache and use gzip compress... check http://pear.php.net
if u use cache, that page is generated once and the next time is download from the table. php script does take time....hence cache always helps.

« previous php.general (#229077) next »