Re: Polyglot markup and authors

On Fri, Feb 15, 2013 at 4:02 PM, Eric J. Bowman <eric@bisonsystems.net> wrote:
> So, where are the guidelines for authors to avoid these pathological
> cases?

If you write HTML per the standard you'll be fine:
http://www.whatwg.org/specs/web-apps/current-work/multipage/syntax.html#syntax


> Wouldn't the PG document serve such purpose?

No, it lists many things you shouldn't worry about.


> Still, it doesn't matter for my example if the HTML parser is faster
> than XML (which I've not noticed); the latency of sending all that HTML
> templating with every request is still higher than caching it in the
> browser as XSLT, and transforming XML on the fly.

[citation needed]


> Also, given that my desktop CPU is twice as fast as that on my server,
> putting the XSLT on the client reduces transformation latency, not just
> CPU cycles on the server, in the event of a cache miss.  Better user-
> perceived performance is the result for most consumer CPUs.

You realize on mobile this is not at all the case right?


-- 
http://annevankesteren.nl/

Received on Friday, 15 February 2013 16:06:03 UTC