RE: [SMARTY-DEV] Is Smarty using PHP output buffering?
| From: | luis | Date: | Tue, 06 May 2003 16:07:21 +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-1367@lists.php.net to get a copy of this message | ||
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
>