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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Google PageSpeed Service Reviewed

49 点作者 xpose2000超过 12 年前

7 条评论

cbr超过 12 年前
With defer_javascript on, browser-reported page load times tell less of the picture. The problem is that what browsers report back to your analytics service is the amount of time that passes before the onload event while defer_javascript [1] postpones javascript execution until the onload event. This means that with defer_javascript off you were counting javascript execution time but when you turned it on you stopped counting it.<p>We're trying to optimize something like "time until the page is visually complete and usable", and there's not currently a good metric for that. Speed index [2] does visual completeness well, but I don't know of any algorithmic way to measure time-until-usable.<p>(I work on the PageSpeed team at Google, mostly on ngx_pagespeed.)<p>[1] <a href="https://developers.google.com/speed/docs/mod_pagespeed/filter-js-defer" rel="nofollow">https://developers.google.com/speed/docs/mod_pagespeed/filte...</a><p>[2] <a href="https://sites.google.com/a/webpagetest.org/docs/using-webpagetest/metrics/speed-index" rel="nofollow">https://sites.google.com/a/webpagetest.org/docs/using-webpag...</a>
评论 #4979950 未加载
cbr超过 12 年前
&#62; Not to be confused with mod_pagespeed, which is an Apache module<p>PageSpeed Service proxies your site, but aside from that the optimizations it makes are very similar to mod_pagespeed (and ngx_pagespeed). Which makes sense: they're closely related Google projects.<p>(I work on all three, but mostly ngx_pagespeed these days.)
dubcanada超过 12 年前
I'm not sure the "cloudflare has been getting worse and worse" that links to a single page written by you referencing a single twitter post. Really helps the article any.<p>However it was mostly a terrible read.
评论 #4979350 未加载
joshfraser超过 12 年前
It would be interesting to know what the before/after load time histograms look like. The averages that New Relic give can hide a lot of the details of what's actually happening.<p>Rant on why averages are bad for looking at performance data: <a href="http://highscalability.com/blog/2012/5/23/averages-web-performance-data-and-how-your-analytics-product.html" rel="nofollow">http://highscalability.com/blog/2012/5/23/averages-web-perfo...</a>
chris_mahan超过 12 年前
Getting rid of javascript altogether and sticking with validating html5 worked for me.
isalmon超过 12 年前
It's a great article, thanks a lot for sharing this. The most amazing part of all of it is that Google offers it for free while many other companies charge a lot of money for the same (or even worse) functionality.
评论 #4980219 未加载
评论 #4980033 未加载
zapt02超过 12 年前
this was a poorly written article. random numbers all over the place, no understanding from author about how the services actually work. awful.
评论 #4979416 未加载