note 27432 added to function.ob-start
| From: | php-general at lists dot php dot net | Date: | Thu, 05 Dec 2002 18:02:55 +0000 |
| Subject: | note 27432 added to function.ob-start | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-40388@lists.php.net to get a copy of this message | ||
If you're using Apache (1.3x or 2.0), you might consider adding automatic compression
capability to your delivered pages.
I assume you all know how to build compression classes and use them in your programs, but none has
yet to offer the speed and robustness of a binary-compiled module. Furthermore, such modules also
log the "compressable" hit in the web log file, thus allowing your favorite web anaysing
program to show you reports of bandwidth saved.
Having said that, you might consider the following two modules for Apache:
1) Apache 1.3x: use mod_gzip, available from:
http://sourceforge.net/projects/mod-gzip/
2) Apache 2.x: use mod_gz, see here:
http://www.mail-archive.com/dev@httpd.apache.org/msg00734.html
3) Apache 1.3x: you may also want to use mod_defalte, from:
ftp://ftp.lexa.ru/pub/apache-rus/contrib/
Hope it helps.
--
http://www.php.net/manual/en/function.ob-start.php
http://master.php.net/manage/user-notes.php?action=edit+27432
http://master.php.net/manage/user-notes.php?action=delete+27432
http://master.php.net/manage/user-notes.php?action=reject+27432