Re: Re: Reducing size of htm output

From: Date: Sat, 07 May 2005 13:48:47 +0000
Subject: Re: Re: Reducing size of htm output
References: 1 2 3 4 5  Groups: php.general 
Request: Send a blank email to php-general+get-214671@lists.php.net to get a copy of this message
M. Sokolewicz wrote:
Rory Browne wrote:
What might be more useful is stripping out comments, If you don't use javascript it is simply a case of replacing all <!-- anything --> with a blank space. If you do though it's more complicated since it is considered good practice to place js inside <!-- .. //--> blocks,
excuse me? since when is this considered /good/ practice??? It's one of those things that are concidered /bad/ practice according to w3...
Interesting. On a page titled "W3C Recommendations" I must be misinterpreting the W3C's examples of hiding scripts from browsers ... http://www.w3.org/TR/REC-html40/interact/scripts.html#h-18.3.2

« previous php.general (#214671) next »