Re: HTTP compression
| From: | Rasmus Lerdorf | Date: | Sun, 04 Feb 2001 13:33:54 +0000 |
| Subject: | Re: HTTP compression | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-38104@lists.php.net to get a copy of this message | ||
> I've just started experimenting with ob_start("ob_gzhandler") a bit, and I
> have found that if any output is generated before ob_start() is called,
> nothing at all gets compressed; if ob_start() is called before any output,
> everything is compressed.
>
> Is this the case, I mean, is this "by design" ?
Yes, it wouldn't really work any other way. You can't mix non-compressed
and compressed in the same request.
-Rasmus