Joining my HTML output into a single line (Google does it)

Redd Vinylene reddvinylene at gmail.com
Thu Oct 23 00:20:53 MSD 2008


On Wed, Oct 22, 2008 at 9:38 PM, Cliff Wells <cliff at develix.com> wrote:

>
> That makes no sense.  If anything this is an argument against having
> your HTML all on one long line.  If you are looking for human-readable
> HTML formatting you should consider tidylib or just make sure you are
> generating formatted output to start with.
>
> For the record, I consider lossless compression (e.g. gzip) much more
> reliable than whitespace collapsing if you are looking to conserve
> bandwidth.  It's more effective, plus it's nearly impossible to debug
> layout issues if your output gets mangled before you see it.
>
> Cliff


Yeah you're right, I could use Tidy but it's damn slow. If I join everything
into a single line, there won't be any HTML formatting anymore and I'll have
no more worries :-)

-- 
http://www.home.no/reddvinylene
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nginx.org/pipermail/nginx/attachments/20081022/ee0b2e51/attachment.html>


More information about the nginx mailing list