Re: does gzipping buffer really speed retrieval?

From: Date: Sun, 15 Oct 2000 15:02:58 +0000
Subject: Re: does gzipping buffer really speed retrieval?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-20240@lists.php.net to get a copy of this message
On Sat, 14 Oct 2000 09:58:27 -0700, you wrote: >I load large (300-500k) dynamic pages from a query. It takes some time >to load... would it load faster if I gzipped the buffer and sent that over >to the browser? I'm finding some very good results in the last couple of days. I've yet to use it on a live page, but I have a test file I got from a system that did so on a global scale (in apache, mod_gzip; http://freshmeat.net/projects/mod_gzip/) My test files are at http://www.bigsites.co.uk/~alister/ music.htm is a plain html 650kb file, a large table. music.php is the same html (included), but wrapped with class gzip_encode (from http://Leknor.com/code/) My own test via a decent v90 modem (connecting =>49,333bps) show 1/4 of the time and 1/13th the data transfer for these test files. It may not be worth encoding however if the page is smaller than say 30k, but for huge pages - like 650k, it's hard to say no. Alister

« previous php.general (#20240) next »