3 ms·
Good idea. As a starting point, let's define "HTML Lite" as "HTML without Javascript". Then "HTML Fat" and "HTML Light" could even be served as one document. I
by genericid 8y ago
Good idea. As a starting point, let's define "HTML Lite" as "HTML without Javascript".
Then "HTML Fat" and "HTML Light" could even be served as one document. If you execute the Javascript, you get the fat version. Else, you get the light version.
If you use Javascript not just to improve the behaviour but also to display content at all, you can provide fallback content that is only displayed in light mode. The fallback content is marked by a special tag. Let's call it `noscript`.
My point is: Making it easier to serve sane and lightweight HTML will not help fix the problem. Publishers don't want to do that, they like all that crap. If we want them to make sane web pages, we must force them.