2 ms·
I think I've suggested before that someone (Mozilla comes to mind) could use this as an opportunity in the same way they did with asm.js, roughly along the line
by eitland 7y ago
I think I've suggested before that someone (Mozilla comes to mind) could use this as an opportunity in the same way they did with asm.js, roughly along the lines of:
- specify a strict subset of html and css (no scripts, or maybe a set of well-known scripts for things like autocomplete etc, avoiding layouts that are known to be problematic)
- add a meta tag or something to indicate that the browser should attempt to read this page based on these rules.
- fall back if the page doesn't follow the spec exactly.
I guess this could result in lightening fast pages. Now get one or two organizations on board (Wikipedia? Other non-profits? etc.) and suddenly people will notice.
- krapp 7y ago>add a meta tag or something to indicate that the browser should attempt to read this page based on these rules This seems kind of like XHTML. No one liked that because people preferred having a webpage fail gracefully and still display something, rather than throw an error (ironically, the "worse" solution of non-strict HTML in that case making the web act more like documents than applications, because sloppily written documents are still readable.)