Re: transparent output compression patch
| From: | Zeev Suraski | Date: | Mon, 13 Nov 2000 19:01:38 +0000 |
| Subject: | Re: transparent output compression patch | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-37961@lists.php.net to get a copy of this message | ||
Alright, I imported your transparent gzip compression support.
All of the code is centralized in the zlib extension, and makes no use of any specialized patches in the core of the language.
To use it transparently, simply call:
ob_start("ob_gzhandler");
It's as simple as that.
You can also compress all of your PHP scripts transparently by setting the new output_handler directive to 'ob_gzhandler'.
I'm not sure if I imported all of the diffs from the new patch you sent me - so if you see some missing functionality, either add it or let me know...
Zeev