compact html on the fly
| From: | Eric Wood | Date: | Wed, 02 Aug 2000 13:30:49 +0000 |
| Subject: | compact html on the fly | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-9681@lists.php.net to get a copy of this message | ||
I read a tip where Netscape puts white space in if there is whitespace in
the actual code of the web page.
For example, Netscape may render these pages differently:
<html>
<head>
Test
</head>
<body>
test
</body>
</html>
<html><head>Test</head><body>test</body></html>
BBEdit program as a feature to compact code. Of course this make it
unreadable to maintain manually so I wouldn't do it. However, is there a
way PHP or Apache can compact the page as it is being served?
-Eric Wood