Re:Google HTML/CSS Style Guide – Omit Optional Tags
by tedmiston on Saturday September 17, 2016 @11:52AM
(#12520991)
Updated to clarify my comment as a reference to browser performance not file size.
[ Parent
| on HN ]
Re:Google HTML/CSS Style Guide – Omit Optional Tags
by the_duke on Saturday September 17, 2016 @01:17PM
(#12521360)
Smaller file size -> faster loading (in theory... if gzipped, it's probably redundant).
Possibly faster parsing, because the parser has less HTML so go through. (also probably not valid, because I'd be pretty sure that reading a string from memory is not the bottleneck in parsing, compared to logic, memory allocations, etc).
It could make a difference for Googles server infrastructure though.
If they have to download a tiny bit less, and save a tiny bit on CPU cycles and memory for each page, , it might still lead to considerably savings.