Hacker News new | ask | show | jobs
by matth 5708 days ago
I have to imagine that Google.com is the most bandwidth optimized page EVER.

Big picture, the W3C spec is not what matters here. What matters is making the same HTML document render exactly across different browsers. So maybe they could drop <html><head> according to W3C, but does that break the document in other browsers?

My guess is that Google doesn't care about the W3C spec in this specific regard. What matters is delivering the smallest document possible that can be rendered by as many browsers as possible.

*Grammar edit.

1 comments

  I have to imagine that Google.com is the most bandwidth
  optimized page EVER.
Sure it is not, because I can see how it can be optimized even more — and that's just at a glance.

  So maybe they could drop <html><head> according to W3C, but does that
  break the document in other browsers?
No it doesn't.

  My guess is that Google doesn't care about the W3C spec in this specific
  regard.
Ok, it is their call. Anyone is allowed not to care, but why put doctype of existing standard then. Just put <!DOCTYPE foobar> or <!DOCTYPE idontcare> and be done with that.