Re: [SMARTY] Controling buffer: php/smarty or apache?
| From: | messju mohr | Date: | Mon, 23 Jan 2006 10:07:00 +0000 |
| Subject: | Re: [SMARTY] Controling buffer: php/smarty or apache? | ||
| References: | 1 2 3 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-13242@lists.php.net to get a copy of this message | ||
On Mon, Jan 23, 2006 at 10:53:04AM +0100, Vicente Werner wrote:
> Smarty buffers all the output until you do a $smarty->display or you echo
> the fetched output through $smarty->fetch. That's why it appears to be drawn
> at once.
wrong. smarty doesn't buffer anything with display().
> One thing you can do it's to slice the page into three or four objects that
> can be rendered incrementally (you render the header and display it, then go
> for the body, footer, etc..)
>
> --
> Vicente Werner y Sánchez