{"id":137,"date":"2007-05-16T21:42:35","date_gmt":"2007-05-16T20:42:35","guid":{"rendered":"http:\/\/reflection-design.dk\/?p=137"},"modified":"2007-05-16T21:42:35","modified_gmt":"2007-05-16T20:42:35","slug":"invalid-google","status":"publish","type":"post","link":"https:\/\/reflection-design.dk\/?p=137","title":{"rendered":"Invalid google!"},"content":{"rendered":"<p>The other day i was surfing around, wasting time. The net is a great way to waste time, and my question is whom to see about getting that time back. No wait, thats not the question i was going for. Why doesnt google validate according to  the w3c standards ?!<\/p>\n<p>The extremely simply google frontpage <a href=\"http:\/\/validator.w3.org\/check?uri=http%3A%2F%2Fwww.google.dk%2Findex.html&amp;charset=utf-8&amp;doctype=HTML+4.01+Transitional\" target=\"_blank\" rel=\"noopener\">does not validate<\/a> according to the w3c standards. Why ? I have no answer for this. But my curiosity got peaked and i started googling (invalid results ? \ud83d\ude09 ) for some answers.<br \/>\nIt would seem that google once <a href=\"http:\/\/blog.persistent.info\/2005\/06\/google-and-valid-html.html\" target=\"_blank\" rel=\"noopener\">DID validate<\/a>, according to google employee, Mihai Parparita. In his personal blog he writes this:<\/p>\n<blockquote><p> There&#8217;s a perception that Google doesn&#8217;t care about valid HTML, since bandwidth costs trump correctness. While that thinking has merit for high traffic sites, there&#8217;s more leeway on our smaller properties. Specifically, I was happy to discover that <a href=\"http:\/\/video.google.com\/\">Google Video<\/a> <a href=\"http:\/\/validator.w3.org\/check?uri=http%3A%2F%2Fvideo.google.com%2F\">validates<\/a>. And it&#8217;s not just the relatively simple front page, <a href=\"http:\/\/video.google.com\/videosearch?q=google&amp;btnG=Search+Video\">search results<\/a> <a href=\"http:\/\/validator.w3.org\/check?uri=http%3A%2F%2Fvideo.google.com%2Fvideosearch%3Fq%3Dgoogle%26btnG%3DSearch%2BVideo\">validate too<\/a>.<\/p><\/blockquote>\n<p>Abit the post is nearing 2 years in age, i still find it curious that the google pages once did follow standards, but no longer. Did i simply make a mistake when checking for validity ? Well talking apart some more results on the topic i found the <a href=\"http:\/\/www.456bereastreet.com\/archive\/200608\/google_valid_and_strict\/\" target=\"_blank\" rel=\"noopener\">following post<\/a> on the same topic:<\/p>\n<blockquote><p>The myth that Google is using invalid markup to save bandwidth is clearly just a myth.<\/p><\/blockquote>\n<p>Hmm invalid markup to save bandwith. Well seems resonable enough. Fewer characters = less bandwith. And there are plenty of characters you can save away like quotes. Another link has a story on exactly why googles frontpage uses non-validated code. Here is what Google\u2019s Matt Cutts once argued:<\/p>\n<blockquote><p>Google\u2019s home page doesn\u2019t validate and that\u2019s mostly by design to save precious bytes. Will the world end because Google doesn\u2019t put quotes around color attributes? No, and it makes the page load faster.<\/p><\/blockquote>\n<p>So the invalid page is supposed to shave previous characters off the page, and make it load faster. Seems really really resonable with google being one of the most popular search engines around, that optimising the site for lightning load times is extremely important. But this story isnt so simple. Because Roger Johansson ((A Swedish web professional specialising in web standards, accessibility, and usability)) recreated the frontpage using standards and came up with this strange result;<\/p>\n<blockquote><p>&#8230;the result is a valid <abbr>HTML<\/abbr> 4.01 Strict file that is 3 902 bytes large. Google\u2019s invalid kinda-<abbr>HTML<\/abbr> 2.something very-loose is 4 944 bytes. <strong>The valid and strict version is 1 042 bytes smaller.<\/strong> That\u2019s 21 percent savings on bandwidth costs.<\/p><\/blockquote>\n<p>So why would google still be using a non-standard frontpage and subsequent pages for that matter. I found no more recent material on this matter. But perhaps somebody knows why. Im still curious to know, especially since a company the size of google i would expect they could spare at least one employee to make the pages valid code. As shows coding according to standards doesnt increase the size of the page, and thus should reduce bandwith usage.<\/p>\n<p>More on the topic if i should find out more.. feel free to leave comments and enlighten the subject. I stress that im merely posing an open question here, so no flaming from any side please ! Play nice \ud83d\ude09<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The other day i was surfing around, wasting time. The net is a great way to waste time, and my question is whom to see about getting that time back. No wait, thats not the question i was going for. Why doesnt google validate according to the w3c standards ?! The extremely simply google frontpage [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-137","post","type-post","status-publish","format-standard","hentry","category-articles"],"_links":{"self":[{"href":"https:\/\/reflection-design.dk\/index.php?rest_route=\/wp\/v2\/posts\/137","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/reflection-design.dk\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/reflection-design.dk\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/reflection-design.dk\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/reflection-design.dk\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=137"}],"version-history":[{"count":0,"href":"https:\/\/reflection-design.dk\/index.php?rest_route=\/wp\/v2\/posts\/137\/revisions"}],"wp:attachment":[{"href":"https:\/\/reflection-design.dk\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=137"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/reflection-design.dk\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=137"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/reflection-design.dk\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=137"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}