`
lovnet
  • 浏览: 6920743 次
  • 性别: Icon_minigender_1
  • 来自: 武汉
文章分类
社区版块
存档分类
最新评论

Yahoo!'s Latest Performance Breakthroughs

阅读更多
导读:

  March 17, 2008

  Stoyan Stefanov made an appearance last week at the PHP Quebec Conferencein Montreal. His sessiondebuts Yahoo!’s latest research results and performance breakthroughs. He covers the existing 14 rules, plus 20 new rules for faster web pages. We’ve categorized the optimizations into: server, content, cookie, JavaScript, CSS, images, and mobile.

  After YSlow "A"?

  If your page isn't getting an "A" in YSlow, I recommend that you tackle those recommendations first. However, if you're getting an "A" and looking for more ways to optimize your web pages, here are 20 new recommendations to accelerate the end-user's experience. Stay tuned, you'll be hearing more about YSlow and these rules at Yahoo! Developer Networkand Yahoo! User Interface Blog.

  1. Flush the buffer early [server]

  2. Use GET for AJAX requests [server]

  3. Post-load components [content]

  4. Preload components [content]

  5. Reduce the number of DOM elements [content]

  6. Split components across domains [content]

  7. Minimize the number of iframes [content]

  8. No 404s [content]

  9. Reduce cookie size [cookie]

  10. Use cookie-free domains for components [cookie]

  11. Minimize DOM access [javascript]

  12. Develop smart event handlers [javascript]

  13. Choose <link> over @import [css]

  14. Avoid filters [css]

  15. Optimize images [images]

  16. Optimize CSS sprites [images]

  17. Don't scale images in HTML [images]

  18. Make favicon.ico small and cacheable [images]

  19. Keep components under 25K [mobile]

  20. Pack components into a multipart document [mobile]

  Many thanks to all the developers at Yahoo! that have directly or indirectly contributed to this list - you know who you are (see credits at the end of Stoyan's presentation). We share our findings so that others can join us in accelerating the user experience on the web.

  Tenni Theurer

  Yahoo! Exceptional Performance

  Posted at March 17, 2008 4:02 PM

  

  Comments

  Great, just what I need- another carrot to chase :)

  Posted by: Rob at March 17, 2008 5:48 PM

  Any idea on when we can look forward to seeing these new recommendations make their way into YSlow?

  Posted by: Dan at March 17, 2008 10:17 PM

  Hi Dan, I cannot make any promises right now, but definitely expect to see more details on the new best practices as well as integration with YSlow.

  Posted by: Stoyan at March 18, 2008 10:27 AM

  Use PNGs? Really? Until IE6 is at the same level as IE5 is right now (almost unused), I still say they are more trouble than they're worth.

  Posted by: Eric B at March 18, 2008 5:58 PM

  Stoyan, I'm super happy to learn that you'll both integrate these new techniques into Yslow *and* write more in details about these. I can't wait to read more !

  Thank you !

  Posted by: Louis at March 19, 2008 4:48 AM

  Love the list. I'll try to integrate these into my client's sites.

  Any chance a forum discussing Yslow or something to that affect? I never understand why my client's sites score as low as they do in it. For example, our recently launched site Sensible Moves (http://www.sensiblemoves.com/) receives an F for 'Add an Expires Header'. It is rare in my situation to be able to add an Expires header on every HTTP request. I think it's unfair to give an F for 5 out of 18 HTTP requests needing it. Also, getting a B for putting CSS at the top for document being added with document.write seems nitpicky.

  Posted by: Brian LePore at March 20, 2008 5:33 AM

  Could you link the actual slides so they can be downloaded? SlideShare is obnoxious enough to require a log-in for this privilege.

  Posted by: Ben at March 20, 2008 7:30 AM

  Ah almost full A's besides the CDN and one gzip thing.

  However the gzip thing is annoying, 1 serve one css without gzip because it is larger when gzipped.... not very nice of yslow to detract points from me for serving a smaller file.

  Posted by: bartwe at March 20, 2008 9:38 AM

  @Brian: You can participate in our performance mailing list for discussions regarding YSlow and other performance-related topics.

  Posted by: Tenni Theurer at March 20, 2008 10:01 AM

  http://tech.groups.yahoo.com/group/exceptional-performance/(our performance mailing list)

  Posted by: Tenni Theurer at March 20, 2008 10:02 AM

  On Slide 16 you reference Amazon's Simple Storage Service (S3) as a Content Delivery Network. While S3 is a good origin server and will help optimizers set the appropriate headers for cached content, there is currently no "network" component to its delivery. S3 customers can place their files into a single storage location in either the United States or in Europe.

  Posted by: Niall Kennedy at March 20, 2008 10:52 AM

  @Brian - First, ignore Math D and sho's comments because they do nothing but detract from the performance of this page. Code can usually be improved and the fact that you're here is encouraging, especially if you maintain an authoring tool. If this tool seems "nitpicky" that's because this is *the* tool to pick nits! :)

  Posted by: Dave L at March 21, 2008 8:50 AM

  Thanks for the presentation! It's really useful and YSlow was helping me identify all various issues related to web performance.

  I've posted the presentation to TechPresentations.org: http://www.techpresentations.org/High_Performance_Web_Pages- feel free to add more info about it, your team or just related topics. It'll be great if there was PDF/PPT or maybe even video of the talk available.

  Thank you,

  Sergey

  Posted by: Sergey Chernyshev at March 22, 2008 10:43 PM

  The first 14 rules are easy enough to implement if you have control over your site. I'm looking forward to tackling the next 20. The first set of rules is so simple, in fact, that anyone should be able to benefit from following it.

  Posted by: Kari P?til? at March 24, 2008 12:38 PM

  Really good article. I have increased my performance about 3 seconds.

  Thanks.

  Posted by: Leonidas at March 25, 2008 7:49 AM

  Post a comment

  Comment Policy: We encourage comments and look forward to hearing from you. Please note that Yahoo! may, in our sole discretion, remove comments if they are off topic, inappropriate, or otherwise violate our Terms of Service.



本文转自

http://developer.yahoo.net/blog/archives/2008/03/yahoos_latest_p.html
分享到:
评论

相关推荐

    The Dark Web Breakthroughs in Research and Practice epub

    The Dark Web Breakthroughs in Research and Practice 英文epub 本资源转载自网络,如有侵权,请联系上传者或csdn删除 查看此书详细信息请在美国亚马逊官网搜索此书

    Game Theory: Breakthroughs in Research and Practice

    Game Theory: Breakthroughs in Research and Practice Author: Information Resources Management Association pages 页数: 505) Edition 版本: 1 Language 语言: English Release 出版日期: IGI Global Release ...

    Adobe InDesign.CS.CS2.Breakthroughs教程

    Adobe InDesign.CS.CS2.Breakthroughs教程,处理排版的专业强大工具。

    Game Theory Breakthroughs in Research and Practice 无水印原版pdf

    Game Theory Breakthroughs in Research and Practice 英文无水印原版pdf pdf所有页面使用FoxitReader、PDF-XChangeViewer、SumatraPDF和Firefox测试都可以打开 本资源转载自网络,如有侵权,请联系上传者或csdn...

    Opportunistic Mobile Networks Advances and Applications.pdf

    This textbook reviews the theory, applications, and latest breakthroughs in Delay Tolerant Networks (DTNs). Presenting a specific focus on Opportunistic Mobile Networks (OMNs), the text considers the ...

    Competitive Strategy (Michael E. Porter)

    Competitive Strategy Techniques for Anal yzing Industries and Competitors (Michae l E. Porter) ... great breakthroughs—Porter’s analysis o f industries captures the complexity of industry

    A-Robot-in-every-home家家都有机器人.doc

    Universities and research labs laid the groundwork for the digital age with breakthroughs in technology. Similarly, the foundation for modern robotics is being laid now, with advancements in AI, ...

    CFP_ISIE2019.pdf

    Pinnacle Hotel Harbourfront is one of Vancouver’s most stunning downtown venues with breathtaking views of Coal Harbour and the North Shore mountains. The ISIE annually gathers together Industry ...

    面向未来的100项颠覆性技术创新.pdf

    面向未来的100项颠覆性技术创新 面向未来的100项颠覆性技术创新 面向未来的100项颠覆性技术创新

    [Book]Theory of Computational Complexity

    This comprehensive work discusses the major topics in complexity theory, including fundamental topics as well as recent breakthroughs not previously available in book form. Theory of Computational ...

    Deep Learning, Vol. 1: From Basics to Practice

    And you’ll be able to follow exciting, on-going breakthroughs as they appear, because you’ll have the knowledge and vocabulary that let you read new material, and discuss it with other people doing...

    Deep Learning, Vol. 2: From Basics to Practice

    And you’ll be able to follow exciting, on-going breakthroughs as they appear, because you’ll have the knowledge and vocabulary that let you read new material, and discuss it with other people doing...

    stanford parser

    Their development was one of the biggest breakthroughs in natural language processing in the 1990s. You can try out our parser online. This package is a Java implementation of probabilistic natural ...

    2021版高考英语一轮复习课时提能练11Module5NewspapersandMagazines外研版必修2

    - `evident` 是形容词,意为“明显的”,在句中作表语,如"It's evident that walking may be an effective way if you really want to lose weight." 3. **固定搭配和短语** - `hold the belief` 表示“持有信念...

    英语四级四级长难句.doc

    2. "The trouble with the global warming debate is that it has become a moral problem when it's really an engineering one." 这里用了"that"引导的表语从句,指出全球变暖讨论的问题所在,即将其错误地视为了...

Global site tag (gtag.js) - Google Analytics