Output HTML Compression
| From: | Floyd Piedad | Date: | Fri, 20 Apr 2001 04:02:39 +0000 |
| Subject: | Output HTML Compression | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-49488@lists.php.net to get a copy of this message | ||
Hi,
Any tips on how to speed-up dynamic page loads by either lessening the HTML file
sent or compressing it? I found two ways but don't exactly know how to do it.
1. Enable output buffering with compression. This seems to be only available on
php4.04. Is there a way to do this with php4.01?
2. Remove extraneous whitespaces. I normally program with heavy use of
indention, especially in table outputs, to make code more readable. But the
html files sent out also have these indentations and whitespaces. Is there a
code that can clean these out?
Thanks,
Floyd