You are here: Re: [PHP] output buffering / output compression « PHP « IT news, forums, messages
Re: [PHP] output buffering / output compression

Posted by "Richard Lynch" on 09/28/26 11:18

On Thu, June 9, 2005 12:22 am, Paul Birnstihl said:
> I have recently set up a machine with PHP with both buffering and
> compression turned on. Some of the pages being served include up to 3MB
> of HTML.
>
> Can someone explain the benefit(s) of setting these ini directives to
> values (ie. larger than 4kb) rather than "On" ?
>
> I've played around with it as I thought it might speed things up by
> using a bigger buffer etc. but the only difference I noticed is a big
> jump in memory usage.

If you somehow manage to spew out more than 3MB before you try to call
header() or session_start() or whatever, then the buffer got dumped, and
it's too late.

At least, that's how I think it would work...

But I never turn buffering on anyway, so what do I know?

--
Like Music?
http://l-i-e.com/artists.htm

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация