Web Performance Best Practices and Rules
Yahoo's Exceptional Performance team has identified(确定) 34 rules that affect web page performance. YSlow's web page analysis is based on the 23 of these 34 rules that are testable(可试验的). Click each performance rule below to see the details.
- Minimize HTTP Requests
- Use a Content Delivery Network
- Avoid empty src or href
- Add an Expires or a Cache-Control Header
- Gzip Components
- Put StyleSheets at the Top
- Put Scripts at the Bottom
- Avoid CSS Expressions
- Make JavaScript and CSS External
- Reduce DNS Lookups
- Minify(变小) JavaScript and CSS
- Avoid Redirects
Yahoo的高性能团队提出了34条影响网页性能的规则,其中23条可通过测试验证。本文详细介绍了如何实现这些规则,包括减少HTTP请求、使用内容分发网络、避免空源或链接、添加过期头或缓存控制头、使用Gzip压缩组件等。
4679

被折叠的 条评论
为什么被折叠?



