W3C home > Mailing lists > Public > public-html@w3.org > February 2013

Re: Polyglot markup and authors

From: Anne van Kesteren <annevk@annevk.nl>
Date: Fri, 15 Feb 2013 16:05:31 +0000
Message-ID: <CADnb78jT8X8K65UPOvJ2+dD9mwqN3afY5ghXfn=0Qs4hG90zkQ@mail.gmail.com>
To: "Eric J. Bowman" <eric@bisonsystems.net>
Cc: "Michael[tm] Smith" <mike@w3.org>, public-html WG <public-html@w3.org>, "www-tag@w3.org List" <www-tag@w3.org>
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:04 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 15 February 2013 16:06:05 GMT