[doc] Typo or not?

Jan Schneider jan at horde.org
Thu Apr 10 03:05:01 PDT 2003


Quoting Eric Rostetter <eric.rostetter at physics.utexas.edu>:

> Quoting Jan Schneider <jan at horde.org>:
>
> > >From docs/PERFORMANCE:
> > * Enable php output compression.
> >
> > Shouldn't this rather read "Enable php output buffering"?
>
> It was meant to mean zlib.output_compression, and should be expanded
> to not that newer Horde versions have $conf['compress_pages'] = true;
> to control the same function...
>
> Definately not worded well, or complete, but I don't think it is wrong.
>
> I don't see where setting output buffering would gain much in
> performance,
> unless it was done as part of setting output compression (e.g. an
> output handler) as above.  Am I wrong here?

>From php.ini:

Enabling output buffering typically results in less writes, and sometimes
less packets sent on the wire, which can often lead to better performance. 
The gain this directive actually yields greatly depends on which Web server
you're working with, and what kind of scripts you're using.

Output compression in return reduces load on the wire but increases load on
the server.

Jan.

--
http://www.horde.org - The Horde Project
http://www.ammma.de - discover your knowledge
http://www.tip4all.de - Deine private Tippgemeinschaft


More information about the doc mailing list