TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Google.com source code (not simple anymore)

15 点作者 rk1987大约 10 年前
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 条评论

carrja99大约 10 年前
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.
bstackd大约 10 年前
No surprise, they have to compress like mad and avoid superfluous http requests. That sort of optimisation will never look fancy
5h大约 10 年前
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 未加载
mdturnerphys大约 10 年前
Quantified: <a href="https://news.ycombinator.com/item?id=4647834" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=4647834</a>
egonschiele大约 10 年前
I wonder if the giant script was an external file, and now it&#x27;s being splat on the page?
评论 #9144818 未加载
gotothrowaway大约 10 年前
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 未加载
philippnagel大约 10 年前
Click-bait ;)
karangoeluw大约 10 年前
I don&#x27;t get it, what&#x27;s the point of this post? How is it adding any new knowledge to the readers?