RE: [SMARTY-DEV] Is Smarty using PHP output buffering?
| From: | Monte Ohrt | Date: | Tue, 06 May 2003 16:21:00 +0000 |
| Subject: | RE: [SMARTY-DEV] Is Smarty using PHP output buffering? | ||
| References: | 1 | Groups: | php.smarty.dev |
| Request: | Send a blank email to php-smarty-dev+get-1368@lists.php.net to get a copy of this message | ||
... and he says right in the slideshow, be careful on low memory
systems. So it depends on your environment.
If this works well for you, then turn on output_buffering in your
php.ini.
Monte
On Tue, 2003-05-06 at 11:07, luis wrote:
> Can you try to test if the output of Smarty is faster suing
> output_buffering?
> Sterling Hughes mentioned that Output buffered pages generally are
> rendered faster because Apache doesn't have to block between I/O
> operations.
> A link to one of the slides:
> http://talks.php.net/show/hpp/11
>
> Luis.
>
>
> > -----Original Message-----
> > From: Monte Ohrt [mailto:monte@ispi.net]
> > Sent: Tuesday, May 06, 2003 12:58 PM
> > To: luis
> > Cc: 'Smarty Dev'
> > Subject: Re: [SMARTY-DEV] Is Smarty using PHP output buffering?
> >
> >
> > Actually Smarty avoids output buffering when it can because
> > this is viewed as an unnecessary overhead (collecting output
> > into memory before flushing to the browser.)
> >
> > On Tue, 2003-05-06 at 10:32, luis wrote:
> > > Hi,
> > >
> > > Sme benchmarks and studies show that the use of output
> > buffering even
> > > when you don't do anything else can improve the time needed
> > to render
> > > a page. So a very simple question: Is Smarty using
> > ob_start(); before
> > > outputting all the data?
> > >
> > > Luis
> > >
> > >
> > --
> > Monte Ohrt <monte@ispi.net>
> >
> >
> > --
> > Smarty Development Mailing List (http://smarty.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
--
Monte Ohrt <monte@ispi.net>