HiJB,

It is not clear to me whether you are trying to display data in a browser or want to download a file to disk. In any case, make sure that the first line returned by the cgi contains the correct mime type for the .gz extension:

put "Content-Type: application/octet-stream" & cr & cr

It is possible that the browser slows down because it needs to find out what type of data it is downloading. Providing the correct mime type may help.

Best,

Mark


--

Economy-x-Talk
Consultancy and Software Engineering
http://economy-x-talk.com
http://www.salery.biz

Salery is the easiest way to set up your own web store: http:// www.salery.biz/salery.html


Op 18-aug-2006, om 17:47 heeft jbv het volgende geschreven:

Hi list,

Has anyone tried to send compress data (gzip) from Rev cgi to a browser
?
I've spent the afternoon experimenting with this, and it works quite
well
(compress() squeezes 1 Mb of HTML data into 120 Kb), but it seems that
the browser takes forever to decompress the code... And finally, there's
no
real gain, since the time saved in downloading data is lost when browser

decompresses data...

Is there any trick / tip ?
I had the feeling that decompress routines embeded in the browser (IE6
Win)
would be much faster, at least as fast as the decompress() function in
Rev...
Sure, my Win box is a bit slow (Athlon 1.46 GHz), but nevertheless...

Thanks,
JB

_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to