RE: [SMARTY-DEV] Is Smarty using PHP output buffering?
| From: | Monte Ohrt | Date: | Tue, 06 May 2003 20:36:13 +0000 |
| Subject: | RE: [SMARTY-DEV] Is Smarty using PHP output buffering? | ||
| References: | 1 2 3 | Groups: | php.smarty.dev |
| Request: | Send a blank email to php-smarty-dev+get-1378@lists.php.net to get a copy of this message | ||
I'm using mod_gzip, so the output is getting buffered anyways. I'm
probably not seeing the performance gains so much 'cause I already have
them. With OB enabled, I'd be getting the content collected on the PHP
side, and then again on the Apache side.
Monte
On Tue, 2003-05-06 at 15:23, Thomas Schulz wrote:
> Monte Ohrt schrieb in php.smarty.dev:
>
> > I just ran a test on our CMS front page, gzip enabled, no caching.
> >
> > display() --> 1.724 secs/page
> > echo fetch() --> 1.751 secs/page
>
> Hi,
>
> I think gzip does some output buffering...
>
> When I render the main template of my application, that includes some other
> templates and plugins (which fetch other templates) I get these results:
>
> display() --> 0.65 secs/page
> echo fetch() --> 0.38 secs/page
>
> But I think there is nothing to change in Smarty. If a programmer want to
> have full control over output-buffering, he can use fetch()...
>
> Thomas.
>
> --
> http://4bconsult.de
--
Monte Ohrt <monte@ispi.net>