TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Google.com source code (not simple anymore)

15 pointsby rk1987about 10 years ago
view-source:https:&#x2F;&#x2F;www.google.com&#x2F;<p>Maybe it&#x27;s just me, but realized google.com source code (HTML) used to be very simple but it looks very different now.<p>Try navigating HTML elements using dev tools.

8 comments

carrja99about 10 years ago
And here I thought this was a post about the google.com source code being leaked. :-)<p>I&#x27;d imagine that the rendered HTML is probably produced by a legacy system that stitches together a lot of different templates, some maybe even unintentionally.
bstackdabout 10 years ago
No surprise, they have to compress like mad and avoid superfluous http requests. That sort of optimisation will never look fancy
5habout 10 years ago
I wonder why there are multiple style elements, in div#footcnt there are 2 right next to each other, they could have saved a whole &quot;&lt;&#x2F;style&gt;&lt;style&gt;&quot; there, think of the bandwidth!<p>&#x2F;s
评论 #9145604 未加载
mdturnerphysabout 10 years ago
Quantified: <a href="https://news.ycombinator.com/item?id=4647834" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=4647834</a>
egonschieleabout 10 years ago
I wonder if the giant script was an external file, and now it&#x27;s being splat on the page?
评论 #9144818 未加载
gotothrowawayabout 10 years ago
The other day I noticed that they&#x27;re inlining image data in the src attribute instead of pointing at an external URL. Really taking things to the next level all-around - I wonder when that will become the norm instead of css image sprites.
评论 #9144740 未加载
philippnagelabout 10 years ago
Click-bait ;)
karangoeluwabout 10 years ago
I don&#x27;t get it, what&#x27;s the point of this post? How is it adding any new knowledge to the readers?