Strip outgoing whitespace in html
| From: | Christopher J. Bottaro | Date: | Mon, 26 Jun 2006 16:09:40 +0000 |
| Subject: | Strip outgoing whitespace in html | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-238641@lists.php.net to get a copy of this message | ||
I'm wondering if there's a convenient way to globally add a final step for
apache w/php that will remove unnecessary whitespace from text/html before
it gets sent to the client. Some sort of global config like thing would be
ideal. For what it's worth we're using the smarty template engine too, but
I suppose I'd prefer a solution that doesn't depend on it. Maybe something
like another AddHandler?