Re:Google HTML/CSS style guide suggests omitting head and bo...
by myl on Tuesday May 21, 2019 @11:44AM
(#19971238)
I'll consider following that advice the day https://google.com obeys.
[ Parent
| on HN ]
Re:Google HTML/CSS style guide suggests omitting head and bo...
by spankalee on Tuesday May 21, 2019 @12:35PM
(#19971786)
This part of the guide does say it's option:
Omit optional tags (optional).
And google.com used to do this, along with other ugly but valid byte-saving hacks, but as the page has gotten richer they've loosened up a bit.
Re:Google HTML/CSS style guide suggests omitting head and bo...
by smoe on Tuesday May 21, 2019 @01:49PM
(#19972657)
I vaguely remember years ago google.com omitting tags to strip file size and there being some mild controversy around it. Pretty sure it was before HTML 5 adaption and don't think back then the tags where optional, just that browsers try to interpret whatever mess is thrown at them.
Re:Google HTML/CSS style guide suggests omitting head and bo...
by yeahitslikethat on Tuesday May 21, 2019 @11:50AM
(#19971300)
Do as we say, not as we do. all the more reason not to trust them.
Re:Google HTML/CSS style guide suggests omitting head and bo...
by gipp on Tuesday May 21, 2019 @11:57AM
(#19971375)
This is an internal style guide, not external recommendations, as the title would suggest. Comments like these are really making me wary of the level of groupthink on here.
Re:Google HTML/CSS style guide suggests omitting head and bo...
by shams93 on Tuesday May 21, 2019 @12:14PM
(#19971576)
Now this makes sense while on my one page website such an omission would save the user like 10 bytes of extra data, when you add up the surface area of all Google properties that extra 10 bytes adds up across billions of page views.
Re:Google HTML/CSS style guide suggests omitting head and bo...
by yeahitslikethat on Tuesday May 21, 2019 @12:00PM
(#19971415)
Are you referring to the group think that Google is full of evil hypocrites?
Re:Google HTML/CSS style guide suggests omitting head and bo...
by duxup on Tuesday May 21, 2019 @12:16PM
(#19971602)
>Do as we say, not as we do. all the more reason not to trust them.
---
>Are you referring to the group think that Google is full of evil hypocrites?
I'm confused, what are you trying to say?