Re: cvs: php4 /pear/Experimental/Cache OutputCompression.php

From: Date: Sun, 22 Apr 2001 19:39:35 +0000
Subject: Re: cvs: php4 /pear/Experimental/Cache OutputCompression.php
References: 1  Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-77@lists.php.net to get a copy of this message
On Sun, 22 Apr 2001, Christian Stocker wrote: > I thought about that first, as well. But we want to save the gzipped > data in the cache, to avoid another compressing for the next cache > hit, and this seems not to be possible with the ob_gzhandler(). Ah. I think that's because there's some client-server content accept negotiation. (Well, that's what I glean from the docs.) > With ob_get_contents() you only get the uncompressed content. and > ob_end_flush sends the output directly to the browser without any > chance to get the content. Hum. Yea, I guess if there was a way to force ob_gzhandler() to always return the content compressed and for ob_get_contents() to respect the ob_gzhandler() settings... Well, that sounds like a pain. Maybe I'd be better off looking at your code and trying to see if I can make suggestions. :) -adam -- / adam maccabee trachtenberg | visit college life online \ \ adam@student.net | http://www.student.com /

« previous php.pear.cvs (#77) next »