很早就看到yahoo性能团队的这篇文章
http://developer.yahoo.com/performance/rules.html

逢今日再读,仍旧令人拍案叫绝,若大中型网站,特别是以静态内容为主的网站,能做到其十之八九,
那我想访问响应性能速度定能提升几个档次。

这段时间 自觉需要好好学习研究一下这些方法 希望将来尽力用得上
然而这个必然需要需要前端开发工程师,程序开发设计人员和系统运维相关人员通力合作才行

顺便做个自己的土笔记 留以后备忘。

大致从文章看下来说 这篇文章中一共34种方法 分为7个类别

分别是
1.Content  
2.Server
3.Cookie
4.Css
5.Javascript
6.Image
7.Mobile

几乎牵涉到了网站前端的方方面面 实为猛料!

这上34种实践方法 如下 :
  1. Make Fewer HTTP Requests
  2.     
  3. Use a Content Delivery Network
  4.     
  5. Add an Expires or a Cache-Control Header
  6.     
  7. Gzip Components
  8.     
  9. Put Stylesheets at the Top
  10.     
  11. Put Scripts at the Bottom
  12.     
  13. Avoid CSS Expressions
  14.     
  15. Make JavaScript and CSS External
  16.     
  17. Reduce DNS Lookups
  18.     
  19. Minify JavaScript and CSS
  20.     
  21. Avoid Redirects
  22.     
  23. Remove Duplicate Scripts
  24.     
  25. Configure ETags
  26.     
  27. Make Ajax Cacheable
  28.     
  29. Flush the Buffer Early
  30.     
  31. Use GET for AJAX Requests
  32.     
  33. Post-load Components
  34.     
  35. Preload Components
  36.     
  37. Reduce the Number of DOM Elements
  38.     
  39. Split Components Across Domains
  40.     
  41. Minimize the Number of iframes
  42.     
  43. No 404s
  44.     
  45. Reduce Cookie Size
  46.     
  47. Use Cookie-free Domains for Components
  48.     
  49. Minimize DOM Access
  50.     
  51. Develop Smart Event Handlers
  52.     
  53. Choose <link> over @import
  54.     
  55. Avoid Filters
  56.     
  57. Optimize Images
  58.     
  59. Optimize CSS Sprites
  60.     
  61. Don't Scale Images in HTML
  62.     
  63. Make favicon.ico Small and Cacheable
  64.     
  65. Keep Components under 25K
  66.     
  67. Pack Components into a Multipart Document
下面 就是过段时间一个一个做个测试 ! 能用的要尽量用上。

作者:askwan@『AskWan』
地址:http://www.askwan.com/post/165/
可以转载,转载时请以链接形式注明作者和原始出处及本声明!

Oprating System | Comments(0) | Trackbacks(0) | Reads(625)
收藏到网摘:百度搜藏 Google书签 Yahoo收藏 新浪ViVi收藏夹 365天天网摘 天极网摘 我摘·网摘·网络书签 POCO网摘 和讯网摘 Bolaa博拉博客收录中心 天下图摘
Add a comment
Emots
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
Enable HTML
Enable UBB
Enable Emots
Hidden
Remember
Nickname   Password   Optional
Site URI   Email   [Register]