-
Website
http://blog.eventscripts.com/ -
Original page
http://blog.errorhelp.com/2009/06/27/the-highest-traffic-site-in-the-world-doesnt-close-its-html-tags/ -
Subscribe
All Comments -
Community
-
Top Commenters
-
duck1123
1 comment · 1 points
-
Simon Hawkin
1 comment · 1 points
-
Entertainment King
2 comments · 1 points
-
Richard Bradshaw
1 comment · 1 points
-
-
Popular Threads
HTML has optional tags, true, but I don't think Google put that much thought into that. Their SERP code contains syntax errors and a few "wasteful" constructs (they close their table rows). Like every average developer, they seem to just throw whatever markup seems to work.
> their performance as a competitive advantage. All browsers work
> well without the tags and the tags take up time, so they’re excited
> to eliminate any millisecond they can for their visitors.
Er, the reason they do this sort of optimization is primarily to reduce costs on their end. Remove one character from a page which is queried 100 million times per day and you've, saved close to 100 megabytes shipped out over the wire. Remove the body and html closure and you just freed up close to 1.5 gigs of bandwidth for the day.
Even if they are gaining miliseconds trasfer time in the pages, the client browsers are going to take slightly longer to parse the data recieved.
Watch him prove my point by returning and make this long comment about how he has 100 years of experience as a developer or that he used to code with Gates.
This sounds like ricer nonsense.
GET / HTTP/1.1
Host: http://www.google.com
Connection: close
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.11) Gecko/2009060308 Ubuntu/9.04 (jaunty) Firefox/3.0.11
Accept-Encoding: gzip
Accept-Charset: ISO-8859-1,UTF-8;q=0.7,*;q=0.7
Cache-Control: no
Accept-Language: en;q=0.7,en-us;q=0.3
HTTP/1.1 200 OK
Cache-Control: private, max-age=0
Date: Sun, 28 Jun 2009 06:35:42 GMT
Expires: -1
Content-Type: text/html; charset=UTF-8
Set-Cookie: PREF=ID=67585407028bb3b3:TM=1246170942:LM=1246170942:S=d8uvbTuf_YeJWxwq; expires=Tue, 28-Jun-2011 06:35:42 GMT; path=/; domain=.google.com
Content-Encoding: gzip
Server: gws
Content-Length: 3272
Connection: close
Browsers don't look for the end-HTML tag to know when the request is complete. If they did, you couldn't send any non-html files.
If you don't gzip it, then you should.
But come on... doesn't closing tags chafe you? Just a little?
Riff
www.complete-privacy.tk
I'm not surprised at all when you said that the top 10 alexa websites doesn't use this trick.
And where is Rob? The rock star :D
Personally, I would prefer that they show just one more ad and give me properly formatted (X)HTML.
rather than