Timers are the de facto standard for splitting up JavaScript code execution in browsers. Whenever a script is taking too long to complete, look to delay parts of the execution until later.
Note that very small timer delays can also cause the browser to become unresponsive. It’s recommended to never use a delay of zero milliseconds, as this isn’t enough time for all browsers to properly update their display. In general, delays between 50 and 100 milliseconds are appropriate and allow browsers enough idle time to perform necessary display updates. (查看原文)
what is the fastest runner of mammals on earth? how to tune even faster web sites? (呃 能被中文版的责编 #sunlight 约写书评,还是着实让我惊讶了一回的。) 其实Steve Souders 去年(那会儿他已经从Yahoo转去了Google)在SXSW上那篇《Even Faster Web Sites》的 Pres...
(展开)
经过大半年的努力和等待,口碑网前端团队(http://ued.koubei.com)5位成员共同翻译的《高性能网站建设进阶指南(Even Faster Web Sites):Web开发者性能优化最佳实践》终于面市了。翻译的过程本身就是学习的过程,又经过了在口碑网的实践,我们深刻地感受到本书内容不仅和每...
(展开)
Performance is critical to the success of any web site, and yet today's web applications push browsers to their limits with increasing amounts of rich content and heavy use of Ajax. In this book, Steve Souders, web performance evangelist at Google and forme...
(展开)
3 有用 卤代烃 2022-10-25 12:35:16 上海
这个再版很容易让人误解,以为是加了什么新东西,其实内容和2009 英文原版,2010 译版内容是一样的。 本书的思路结构不错,问题和作者上一本书一样,现如今看来很多内容都过时了,实际工程中很难有落地。举个例子,书中的 Chrome 版本为 1,现在(2022-10)都 100+ 了。 从各个章节中可以看出一些几十年来 Web 通有的问题,其实将近 20 年来问题都是这些,比如说拆包方案,资源优... 这个再版很容易让人误解,以为是加了什么新东西,其实内容和2009 英文原版,2010 译版内容是一样的。 本书的思路结构不错,问题和作者上一本书一样,现如今看来很多内容都过时了,实际工程中很难有落地。举个例子,书中的 Chrome 版本为 1,现在(2022-10)都 100+ 了。 从各个章节中可以看出一些几十年来 Web 通有的问题,其实将近 20 年来问题都是这些,比如说拆包方案,资源优化,脚本执行顺序、网络优化等等。相对应的在各个年代都有一些解决思路,技术整体上还是算螺旋式上升。 看完这本书最大的感受是优化思路是长存的,但是适配是没有出路的;前者多少年了都没有大变,后者只要相关平台升个级迭代几个版本就会变的毫无意义。这也是前端之殇,80% 的人都会困在适配里,难以逃出这个怪圈。 (展开)
0 有用 豆友76013858 2018-07-25 19:47:17
书不厚,适合扫盲,该深入的地方还不够深入或补充资料不够
0 有用 布兰特 2017-08-15 21:34:29
有点像一些博文的集结成册,很多尝试具有年代感,但背后的思考很有价值。感觉很多琐碎的点很有用,比如第一次知道选择器是从右向左匹配的。
0 有用 姚泽源 2016-10-23 16:02:49
出版五年以上的前端书籍就不要再看了。。。