必读书籍_必读
必读书籍
2010 update: Lo, the Web Performance Advent Calendar hath moved
2010年更新: Lo, Web Performance Advent Calendar已移动
Dec 3 This is the third in the series of performance articles as part of my 2009 performance advent calendar experiment. Stay tuned for the next articles.
12月3日这是我的2009年性能出现日历实验一部分的系列性能文章中的第三篇。 请继续 关注下一篇文章。
There's a number of performance rules and best practices that every web developer should know. Some of them are really simple and straightforward - like turning on compression for example. It's so simple it's a sin not to do it. Actually someone from Google search (Kyle Scholz or Yaron Friedman) said that every extra byte you send over the wire is a disservice to your user. I loved this way of putting it.
每个Web开发人员都应了解许多性能规则和最佳实践。 其中一些非常简单明了-例如打开压缩功能。 如此简单,不这样做是一种罪过。 实际上,来自Google搜索的某个人( Kyle Scholz或Yaron Friedman )说,您通过网络发送的每个额外字节对您的用户都是不利的。 我喜欢这种放置方式。
BTW, I myself am guilty of not turning gzip on this blog, I also don't have a favicon which causes a bunch of 404s every hour, and there's other mistakes. But that's intentional - I want to show that everyone has room for improvement, no matter how big or small a site, no matter if there's a budget for CDN or not. Fast and pleasurable experiences are not reserved for big sites with millions to invest. Many of the performance optimizations are straightforward and within every developer or sysadmin's reach.
顺便说一句,我本人没有在这个博客上打开gzip感到内,,我也没有一个图标 ,它每小时导致一堆404错误,还有其他错误。 但这是有意的-我想证明每个人都有改进的余地,无论站点大小,无论CDN是否有预算。 快速而愉悦的体验并不适合拥有数百万美元进行投资的大型网站。 许多性能优化都是简单明了的,而且每个开发人员或sysadmin都可以做到。
在线资源 (Online resources)
The place to start learning about performance best practices is the performance section of the Yahoo! Developer Network site. The list of best practices may look overwhelmingly long, but you don't have to do everything at once, pick one low hanging fruit, fix, improve, rinse and repeat.
开始学习性能最佳实践的地方是Yahoo!的性能部分。 开发人员网络站点 。 最佳做法清单看起来可能很长,但是您不必一次做所有事情,只需摘下一个低落的果实,进行修复,改善,冲洗和重复。
The description of Yahoo!'s best practices may be a little high level, so I've written some time ago an article on SitePoint that aims to present some of those practices with more concrete steps. For example how to configure gzip when you deal with shared hosting providers that run different versions of PHP and Apache and with different set of restrictions. (Some ISPs are really overly restrictive. If yours is - time to change them. Here's a list questions that your ISP better answer YES to)
对Yahoo!最佳实践的描述可能有点高,所以我前段时间在SitePoint上写过一篇文章 ,旨在通过一些更具体的步骤介绍其中的一些实践。 例如,当您与运行不同版本PHP和Apache且具有不同限制集的共享托管提供程序打交道时,如何配置gzip。 (某些ISP的限制确实过大。如果您需要-更改它们的时间。 这是一个清单问题 ,您的ISP最好回答是)
Another great place to read up on performance best practices are these two sections in the Google code site - PageSpeed best practices and there performance articles.
要了解性能最佳做法的另一个好地方是Google代码站点中的这两部分-PageSpeed最佳做法以及有关性能的文章 。
图书 (Books)
If you prefer to cuddle with a good book, O'Reilly has a pretty decent collection of performance titles.
如果您喜欢拥抱一本好书,O'Reilly会收集很多不错的表演标题。
-
High Performance Websites (a.k.a. The Bible ???? ) by Steve Souders is the place to start. It covers the first 13 of Yahoo's best practices but with much more detail than the Yahoo! Developer site. Concise and to the point, highly recommended.
史蒂夫·索德斯(Steve Souders)的高性能网站 (又名The Bible????)是一个起点。 它涵盖了Yahoo最佳实践的前13个,但是比Yahoo!的详细信息多得多。 开发者网站。 简洁明了,强烈推荐。
-
Even Faster Web Sites is the second book by Steve Souders and it's probably a little more advanced than the first. I am also a contributor to this book, I wrote the chapter on image optimization together with Nicole Sullivan. Being a co-author prevents me from gushing this book too much without sounding like an infomercial dude. But hey, just look at some of the other contributors - Douglas Crockford, Nicholas Zakas, Dion Almaer and Ben Galbraith from Ajaxian...
史蒂夫·索德斯(Steve Souders)出版的第二本书,《 更快的网站》,甚至比第一本书还先进。 我也是这本书的撰稿人,我与Nicole Sullivan共同撰写了有关图像优化的章节。 作为合著者,可以防止我在听起来不像电视购物花花公子的情况下过多地涌入这本书。 但是,请看看其他贡献者-来自Ajaxian的Douglas Crockford,Nicholas Zakas,Dion Almaer和Ben Galbraith ...
-
High-Performance JavaScript is a new title, still not published, where I also contributed a chapter. The book's author is Nicholas Zakas with contributing authors including Julien Lecomte (of YUICompressor fame), Matt Sweeney (YUI3 architect), Ross Hermes (also author of "Pro JavaScript Design Patterns" and Flickr front-end). With an all-star team of contributors and reviewers, you can expect this to be a valuable read.
高性能JavaScript是一个新标题,但尚未发布,我还撰写了一个章节。 该书的作者是尼古拉斯·扎卡斯(Nicholas Zakas),其中包括JUIien Lecomte(YUICompressor的知名度),Matt Sweeney(YUI3的架构师),Ross Hermes(也是“ Pro JavaScript Design Patterns”和Flickr前端的作者)的撰稿人。 在全明星的撰稿人和审稿人团队中,您可以期望这是一本有价值的文章。
-
Website Optimization by Andrew King is half about performance and half about SEO and conversions. But SEO is also good. Andrew has a very scientific and diligent approach and that's refreshing to see when it comes to SEO.
安德鲁·金(Andrew King)进行的网站优化一半是关于性能,一半是关于SEO和转化。 但是SEO也不错。 安德鲁(Andrew)具有非常科学和勤奋的态度,当谈到SEO时,这令人耳目一新。
社区 (Community)
There's two places to hang out online and ask performance questions and learn from the community:
有两个地方可以在线闲逛并询问性能问题并向社区学习:
-
The Yahoo! exceptional performance group
雅虎! 杰出表现团体
-
The Google "let's make the web fast" group
Google“ 让我们快速上网 ”小组
网志 (Blogs)
And then there's blogs. There's quite a few of them.
然后是博客。 有很多。
I tried to assemble today a nice list of performance blogs (and I'm sure I've missed some). Shoved them into a Yahoo! Pipe and did a quick UI with JavaScript to show the posts tail from all the blogs.
今天,我尝试收集了一系列不错的性能博客(而且我肯定已经错过了一些)。 将它们推入Yahoo! 用JavaScript进行管道操作并快速创建一个UI,以显示所有博客的文章尾巴。
So, ladies and gentlemen... announcing...
女士们,先生们,宣布...
行星“性能” (Planet "Performance")
It's available here - http://www.perfplanet.com/. This site shows the last 20 posts from all the performance blogs I managed to collect.
可以在这里找到-http: //www.perfplanet.com/ 。 该站点显示了我设法收集的所有性能博客的最后20条帖子。
If you're not much of a browse type of person, the RSS feed for the planet is right here.
如果您不是那种浏览类型的人,那么这里就是这个星球的RSS提要。
If you see something broken on the site, please let me know.
如果您发现网站上有损坏的东西,请告诉我。
Also if you know of (or run) a blog that talks about performance from time to time, please let me know too so I can add it to the planet.
另外,如果您知道(或经营)一个不时谈论性能的博客,请也告诉我,以便将其添加到地球上。
谢谢 (Thank you)
And happy reading!
祝您阅读愉快!
Tell your friends about this post on Facebook and Twitter
在Facebook和Twitter上告诉您的朋友有关此帖子的信息
必读书籍