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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

15 Quick Ways to Shrink Page Load Times

12 点作者 bazookaaa将近 17 年前

4 条评论

hussong将近 17 年前
I think the article is OK overall even though a few points are not very well phrased.<p>As for image attributes: while they don't accellerate loading files, they enable the browser to render properly while images are still being loaded, so the user can start scanning the text immediately without elements bouncing back and forth.
chrisbroadfoot将近 17 年前
<i>If an image doesn’t have these tags, the browser has to wait until the image loads before it can go on loading the rest of the page.</i><p>That's simply not true at all, as is this:<p><i>By using multiple domains (even if they’re using the same IP address) you can download objects at the same time, where on a single server you’d have to load one at a time.</i>
评论 #279170 未加载
评论 #279012 未加载
KevBurnsJr将近 17 年前
#13 is not quite best practice.<p>GZip minified JS. <i>Don't pack it.</i><p><a href="http://ejohn.org/blog/library-loading-speed/" rel="nofollow">http://ejohn.org/blog/library-loading-speed/</a>
ScottWhigham将近 17 年前
So wait, should I do #3 ("Host files locally") or should I do #15 ("Use a content delivery network")?
评论 #279632 未加载