Home > Archive > PHP Smarty Templates > January 2006 > Re: [SMARTY] Controling buffer: php/smarty or apache?
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Re: [SMARTY] Controling buffer: php/smarty or apache?
|
|
| Vicente Werner 2006-01-23, 3:59 am |
| 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.
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
| |
| messju mohr 2006-01-23, 7:58 am |
| 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
|
|
|
|
|