Re: compact html on the fly
| From: | Daniel Convissor | Date: | Wed, 02 Aug 2000 14:58:49 +0000 |
| Subject: | Re: compact html on the fly | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-9707@lists.php.net to get a copy of this message | ||
Hi Y'all:
Andreas Pour wrote:
>
> bandwidth (which costs more than the extra CPU power to do this)
Yep.
> (2) since a browser is supposed to ignore white space, you could get
> away with stripping it,
Dude, but how much white space for formatting is there in a document compared
to text? Not much. If you have so much, code your HTML better.
> (3) if the browser supports it, compress, e.g., $buffer =
> gzcompress($buffer) (this, BTW, can be a huge savings, converting a 100K
> HTML document to 10K, which means you can serve 10 times the web pages
> on the same bandwidth as almost all browser support this now)
Now THAT's cool.
--Dan
--
T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y
More than just answers. Solutions. (SM)
http://www.analysisandsolutions.com/
4015 7 Av #4, Brooklyn NY 11232 v: 718-854-0335 f: 718-854-0409