After YSlow "A"

Nicole Sullivan
Nicole SullivanPrincipal Software Engineer & Engineering Manager at Pivotal
After YSlow “A”: 20 more ideas for improving the user experience Nicole Sullivan nicolesl@yahoo-inc.com  http://www.stubbornella.org Stoyan Stefanov stoyan@yahoo-inc.com  http://www.phpied.com  http://developer.yahoo.com/performance
The sluggish Web ,[object Object],[object Object],[object Object],[object Object]
Exceptional Performance at Yahoo! ,[object Object],[object Object],[object Object],[object Object],[object Object]
 
The Performance Golden Rule ,[object Object],[object Object],[object Object],[object Object]
List of 14 best practices  (updated) ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],http://developer.yahoo.com/performance/rules.html   content server server server server javascript javascript javascript javascript content css css css css content content
After YSlow “A”: 20 more best practices
After YSlow "A"?
After YSlow "A"?
tag:  server
Flush the buffer early ,[object Object],[object Object],[object Object],[object Object],Components download in parallel with HTML
tag:  content
Post-load components ,[object Object],[object Object],[object Object],[object Object],[object Object]
Post-load components ,[object Object],[object Object],[object Object]
Preload components ,[object Object],[object Object],[object Object],[object Object]
Preload - Unconditional ,[object Object]
Preload - Conditional ,[object Object]
Preload - Anticipated ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Reduce DOM elements ,[object Object],[object Object],[object Object],[object Object],[object Object]
Reduce DOM elements ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
tag:   javascript
Develop smart event handlers
tag:   css
Avoid filters – AlphaImageLoader ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Avoid AlphaImageLoader ,[object Object],[object Object],[object Object]
Avoid filters ,[object Object]
tag:   images
Hmm, images? ,[object Object],[object Object],[object Object]
What % of page weight is images? Average  45.6% 1 Yahoo! 29% 2 Google 75% 3 YouTube 62% 4 Live.com 64% 5 MSN 41% 6 MySpace 48% 7 Wikipedia 39% 8 Facebook 35% 9 Blogger 27% 10 Yahoo! JP 36%
GIF-to-PNG Average  20.42% savings LOSSLESS!
Crush PNG Average  16.05% savings LOSSLESS!
Strip JPEG metadata Average  11.85% savings LOSSLESS!
Optimize images ,[object Object],[object Object],[object Object]
Case study: Google charts API 1 2 3
Case study: Google charts API 1 2 3 Original (707 colors)
Case study: Google charts API Original (1408 colors) Crushed (1408 colors) PNG8 (256 colors) 25% saving 55% saving (1000+ colors are lost but who can tell?)
Optimize images ,[object Object],[object Object]
Optimize CSS sprites ,[object Object],[object Object],[object Object]
Optimize sprites Horizontal may be smaller
To sprite or not to sprite?  ,[object Object],[object Object],[object Object]
tag:   mobile
Mobile Performance Research Reduce the size of each component to   25 Kb  or less. http://yuiblog.com/blog/2008/02/06/iphone-cacheability/ iPhone
URLs – Exceptional Performance ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
URLs (contd.) ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Credits – thank you!
Take-home ,[object Object],[object Object],[object Object],[object Object],[object Object]
Thank you! Nicole Sullivan nicolesl@yahoo-inc.com  http://www.stubbornella.org Stoyan Stefanov stoyan@yahoo-inc.com  http://www.phpied.com  http://developer.yahoo.com/performance
1 of 47

Recommended

7 Habits of Exceptional Performance by
7 Habits of Exceptional Performance7 Habits of Exceptional Performance
7 Habits of Exceptional PerformanceNicole Sullivan
2.8K views72 slides
Design Fast Websites by
Design Fast WebsitesDesign Fast Websites
Design Fast WebsitesNicole Sullivan
47.5K views69 slides
Performance as UX with Justin Howlett by
Performance as UX with Justin HowlettPerformance as UX with Justin Howlett
Performance as UX with Justin HowlettFITC
1.5K views115 slides
Going Fast on the Mobile Web by
Going Fast on the Mobile WebGoing Fast on the Mobile Web
Going Fast on the Mobile WebJason Grigsby
30.3K views59 slides
Imagesandvideo tallinn by
Imagesandvideo tallinnImagesandvideo tallinn
Imagesandvideo tallinnDoug Sillars
313 views122 slides
Imagesandvideo stockholm webmeetup by
Imagesandvideo stockholm webmeetupImagesandvideo stockholm webmeetup
Imagesandvideo stockholm webmeetupDoug Sillars
550 views122 slides

More Related Content

What's hot

Mobile Web Speed Bumps by
Mobile Web Speed BumpsMobile Web Speed Bumps
Mobile Web Speed BumpsNicholas Zakas
13.4K views101 slides
Measuring Web Performance (HighEdWeb FL Edition) by
Measuring Web Performance (HighEdWeb FL Edition)Measuring Web Performance (HighEdWeb FL Edition)
Measuring Web Performance (HighEdWeb FL Edition)Dave Olsen
3.2K views68 slides
High Performance Web Design by
High Performance Web DesignHigh Performance Web Design
High Performance Web DesignKoji Ishimoto
9.7K views73 slides
Expanding XPages with Bootstrap Plugins for Ultimate Usability by
Expanding XPages with Bootstrap Plugins for Ultimate UsabilityExpanding XPages with Bootstrap Plugins for Ultimate Usability
Expanding XPages with Bootstrap Plugins for Ultimate UsabilityTeamstudio
2.7K views51 slides
Improving Drupal's Page Loading Performance by
Improving Drupal's Page Loading PerformanceImproving Drupal's Page Loading Performance
Improving Drupal's Page Loading PerformanceWim Leers
2.7K views61 slides
State of jQuery '09 by
State of jQuery '09State of jQuery '09
State of jQuery '09jeresig
18.2K views39 slides

What's hot(20)

Mobile Web Speed Bumps by Nicholas Zakas
Mobile Web Speed BumpsMobile Web Speed Bumps
Mobile Web Speed Bumps
Nicholas Zakas13.4K views
Measuring Web Performance (HighEdWeb FL Edition) by Dave Olsen
Measuring Web Performance (HighEdWeb FL Edition)Measuring Web Performance (HighEdWeb FL Edition)
Measuring Web Performance (HighEdWeb FL Edition)
Dave Olsen3.2K views
High Performance Web Design by Koji Ishimoto
High Performance Web DesignHigh Performance Web Design
High Performance Web Design
Koji Ishimoto9.7K views
Expanding XPages with Bootstrap Plugins for Ultimate Usability by Teamstudio
Expanding XPages with Bootstrap Plugins for Ultimate UsabilityExpanding XPages with Bootstrap Plugins for Ultimate Usability
Expanding XPages with Bootstrap Plugins for Ultimate Usability
Teamstudio2.7K views
Improving Drupal's Page Loading Performance by Wim Leers
Improving Drupal's Page Loading PerformanceImproving Drupal's Page Loading Performance
Improving Drupal's Page Loading Performance
Wim Leers2.7K views
State of jQuery '09 by jeresig
State of jQuery '09State of jQuery '09
State of jQuery '09
jeresig18.2K views
Optimizing Sites for Mobile Devices by jameswillweb
Optimizing Sites for Mobile DevicesOptimizing Sites for Mobile Devices
Optimizing Sites for Mobile Devices
jameswillweb5.5K views
Raiders of the Fast Start: Frontend Performance Archaeology - Performance.now... by Katie Sylor-Miller
Raiders of the Fast Start: Frontend Performance Archaeology - Performance.now...Raiders of the Fast Start: Frontend Performance Archaeology - Performance.now...
Raiders of the Fast Start: Frontend Performance Archaeology - Performance.now...
Katie Sylor-Miller1.2K views
Quantifying The Mobile Difference by Guy Podjarny
Quantifying The Mobile DifferenceQuantifying The Mobile Difference
Quantifying The Mobile Difference
Guy Podjarny27.7K views
Its timetostopstalling limerick by Doug Sillars
Its timetostopstalling limerickIts timetostopstalling limerick
Its timetostopstalling limerick
Doug Sillars281 views
Mobile App Performance, Dublin MOT by Doug Sillars
Mobile App Performance, Dublin MOTMobile App Performance, Dublin MOT
Mobile App Performance, Dublin MOT
Doug Sillars405 views
Improving frontend performance by Sagar Desarda
Improving frontend performanceImproving frontend performance
Improving frontend performance
Sagar Desarda142 views
Web Performance & You - HighEdWeb Arkansas Version by Dave Olsen
Web Performance & You - HighEdWeb Arkansas VersionWeb Performance & You - HighEdWeb Arkansas Version
Web Performance & You - HighEdWeb Arkansas Version
Dave Olsen16.8K views
Developing High Performance Web Apps - CodeMash 2011 by Timothy Fisher
Developing High Performance Web Apps - CodeMash 2011Developing High Performance Web Apps - CodeMash 2011
Developing High Performance Web Apps - CodeMash 2011
Timothy Fisher9.6K views
Happy Browser, Happy User! NY Web Performance Meetup 9/20/19 by Katie Sylor-Miller
Happy Browser, Happy User! NY Web Performance Meetup 9/20/19Happy Browser, Happy User! NY Web Performance Meetup 9/20/19
Happy Browser, Happy User! NY Web Performance Meetup 9/20/19
Katie Sylor-Miller452 views
Performance.now() fast but not furious by Anna Migas
Performance.now()   fast but not furiousPerformance.now()   fast but not furious
Performance.now() fast but not furious
Anna Migas1.2K views
There Are No “Buts” in Progressive Enhancement [Øredev 2015] by Aaron Gustafson
There Are No “Buts” in Progressive Enhancement [Øredev 2015]There Are No “Buts” in Progressive Enhancement [Øredev 2015]
There Are No “Buts” in Progressive Enhancement [Øredev 2015]
Aaron Gustafson54.9K views
That's Web? Extreme Optimization for the Mobile Web (Oct 2012) by Glan Thomas
That's Web? Extreme Optimization for the Mobile Web (Oct 2012)That's Web? Extreme Optimization for the Mobile Web (Oct 2012)
That's Web? Extreme Optimization for the Mobile Web (Oct 2012)
Glan Thomas922 views

Viewers also liked

Building the Media Block in ReactJS by
Building the Media Block in ReactJS Building the Media Block in ReactJS
Building the Media Block in ReactJS Nicole Sullivan
8.5K views107 slides
Creating Living Style Guides to Improve Performance by
Creating Living Style Guides to Improve PerformanceCreating Living Style Guides to Improve Performance
Creating Living Style Guides to Improve PerformanceNicole Sullivan
149K views83 slides
Object Oriented CSS by
Object Oriented CSSObject Oriented CSS
Object Oriented CSSNicole Sullivan
283.2K views64 slides
Pourquoi la performance? by
Pourquoi la performance?Pourquoi la performance?
Pourquoi la performance?Nicole Sullivan
4K views154 slides
CSS Bloat! by
CSS Bloat!CSS Bloat!
CSS Bloat!Nicole Sullivan
24.8K views92 slides
What is Object Oriented CSS? by
What is Object Oriented CSS?What is Object Oriented CSS?
What is Object Oriented CSS?Nicole Sullivan
43K views68 slides

Viewers also liked(20)

Building the Media Block in ReactJS by Nicole Sullivan
Building the Media Block in ReactJS Building the Media Block in ReactJS
Building the Media Block in ReactJS
Nicole Sullivan8.5K views
Creating Living Style Guides to Improve Performance by Nicole Sullivan
Creating Living Style Guides to Improve PerformanceCreating Living Style Guides to Improve Performance
Creating Living Style Guides to Improve Performance
Nicole Sullivan149K views
The Cascade, Grids, Headings, and Selectors from an OOCSS Perspective, Ajax ... by Nicole Sullivan
The Cascade, Grids, Headings, and Selectors from an OOCSS Perspective,  Ajax ...The Cascade, Grids, Headings, and Selectors from an OOCSS Perspective,  Ajax ...
The Cascade, Grids, Headings, and Selectors from an OOCSS Perspective, Ajax ...
Nicole Sullivan11.6K views
Our Best Practices Are Killing Us by Nicole Sullivan
Our Best Practices Are Killing UsOur Best Practices Are Killing Us
Our Best Practices Are Killing Us
Nicole Sullivan175.5K views
Specialise or cross-skill by Russ Weakley
Specialise or cross-skillSpecialise or cross-skill
Specialise or cross-skill
Russ Weakley6.8K views
CSS: a rapidly changing world by Russ Weakley
CSS: a rapidly changing worldCSS: a rapidly changing world
CSS: a rapidly changing world
Russ Weakley9.2K views
CSS Best practice by Russ Weakley
CSS Best practiceCSS Best practice
CSS Best practice
Russ Weakley7.2K views
Creating a Simple, Accessible On/Off Switch by Russ Weakley
Creating a Simple, Accessible On/Off SwitchCreating a Simple, Accessible On/Off Switch
Creating a Simple, Accessible On/Off Switch
Russ Weakley2.4K views
CSS3 - is everything we used to do wrong? by Russ Weakley
CSS3 - is everything we used to do wrong? CSS3 - is everything we used to do wrong?
CSS3 - is everything we used to do wrong?
Russ Weakley58.9K views

Similar to After YSlow "A"

Csdn Drdobbs Tenni Theurer Yahoo by
Csdn Drdobbs Tenni Theurer YahooCsdn Drdobbs Tenni Theurer Yahoo
Csdn Drdobbs Tenni Theurer Yahooguestb1b95b
4.3K views65 slides
Os Souders by
Os SoudersOs Souders
Os Soudersoscon2007
544 views22 slides
Yahoo - Web Images optimization by
Yahoo - Web Images optimizationYahoo - Web Images optimization
Yahoo - Web Images optimizationEduard Bondarenko
1.4K views46 slides
Does This Theme Make My Website Look Fat? (Wordcamp SLC 2013) by
Does This Theme Make My Website Look Fat? (Wordcamp SLC 2013)Does This Theme Make My Website Look Fat? (Wordcamp SLC 2013)
Does This Theme Make My Website Look Fat? (Wordcamp SLC 2013)Adam Dunford
1.6K views69 slides
Open-source website performance tools by
Open-source website performance toolsOpen-source website performance tools
Open-source website performance toolsArtur Cistov
810 views17 slides
Windy cityrails performance_tuning by
Windy cityrails performance_tuningWindy cityrails performance_tuning
Windy cityrails performance_tuningJohn McCaffrey
1.7K views64 slides

Similar to After YSlow "A"(20)

Csdn Drdobbs Tenni Theurer Yahoo by guestb1b95b
Csdn Drdobbs Tenni Theurer YahooCsdn Drdobbs Tenni Theurer Yahoo
Csdn Drdobbs Tenni Theurer Yahoo
guestb1b95b4.3K views
Os Souders by oscon2007
Os SoudersOs Souders
Os Souders
oscon2007544 views
Does This Theme Make My Website Look Fat? (Wordcamp SLC 2013) by Adam Dunford
Does This Theme Make My Website Look Fat? (Wordcamp SLC 2013)Does This Theme Make My Website Look Fat? (Wordcamp SLC 2013)
Does This Theme Make My Website Look Fat? (Wordcamp SLC 2013)
Adam Dunford1.6K views
Open-source website performance tools by Artur Cistov
Open-source website performance toolsOpen-source website performance tools
Open-source website performance tools
Artur Cistov810 views
Windy cityrails performance_tuning by John McCaffrey
Windy cityrails performance_tuningWindy cityrails performance_tuning
Windy cityrails performance_tuning
John McCaffrey1.7K views
Ruby on Rails Performance Tuning. Make it faster, make it better (WindyCityRa... by John McCaffrey
Ruby on Rails Performance Tuning. Make it faster, make it better (WindyCityRa...Ruby on Rails Performance Tuning. Make it faster, make it better (WindyCityRa...
Ruby on Rails Performance Tuning. Make it faster, make it better (WindyCityRa...
John McCaffrey7.6K views
10 tips to improve the usability of Joomla - Joomla World Conference 2014 by Sander Potjer
10 tips to improve the usability of Joomla - Joomla World Conference 201410 tips to improve the usability of Joomla - Joomla World Conference 2014
10 tips to improve the usability of Joomla - Joomla World Conference 2014
Sander Potjer1.9K views
WordPress SEO in 2014 - WordCamp Baltimore 2014 by Arsham Mirshah
WordPress SEO in 2014 - WordCamp Baltimore 2014WordPress SEO in 2014 - WordCamp Baltimore 2014
WordPress SEO in 2014 - WordCamp Baltimore 2014
Arsham Mirshah532 views
SearchLove Boston 2018 - Bartosz Goralewicz - JavaScript: Looking Past the ... by Distilled
SearchLove Boston 2018 -  Bartosz Goralewicz -  JavaScript: Looking Past the ...SearchLove Boston 2018 -  Bartosz Goralewicz -  JavaScript: Looking Past the ...
SearchLove Boston 2018 - Bartosz Goralewicz - JavaScript: Looking Past the ...
Distilled2.3K views
Search Engines and Flash: Secrets, Tricks, and Black Magic by guestb1f3a
Search Engines and Flash: Secrets, Tricks, and Black MagicSearch Engines and Flash: Secrets, Tricks, and Black Magic
Search Engines and Flash: Secrets, Tricks, and Black Magic
guestb1f3a9.1K views
Flash SEO Secrets by rtretola
Flash SEO SecretsFlash SEO Secrets
Flash SEO Secrets
rtretola802 views
Deep crawl the chaotic landscape of JavaScript by Onely
Deep crawl the chaotic landscape of JavaScript Deep crawl the chaotic landscape of JavaScript
Deep crawl the chaotic landscape of JavaScript
Onely11.7K views
腾讯大讲堂09 如何建设高性能网站 by areyouok
腾讯大讲堂09 如何建设高性能网站腾讯大讲堂09 如何建设高性能网站
腾讯大讲堂09 如何建设高性能网站
areyouok372 views
腾讯大讲堂09 如何建设高性能网站 by topgeek
腾讯大讲堂09 如何建设高性能网站腾讯大讲堂09 如何建设高性能网站
腾讯大讲堂09 如何建设高性能网站
topgeek1.3K views
Educate 2017: Quick 'n Lazy: How we keep things speedy while staying out of y... by Learnosity
Educate 2017: Quick 'n Lazy: How we keep things speedy while staying out of y...Educate 2017: Quick 'n Lazy: How we keep things speedy while staying out of y...
Educate 2017: Quick 'n Lazy: How we keep things speedy while staying out of y...
Learnosity300 views
Web browsers and browser version support by Ian Brennan
Web browsers and browser version supportWeb browsers and browser version support
Web browsers and browser version support
Ian Brennan1.1K views
Images - 7 mistakes (first draft) by Stoyan Stefanov
Images - 7 mistakes (first draft)Images - 7 mistakes (first draft)
Images - 7 mistakes (first draft)
Stoyan Stefanov1.5K views
The need for Speed: Advanced #webperf - SEOday 2018 by Bastian Grimm
The need for Speed: Advanced #webperf - SEOday 2018The need for Speed: Advanced #webperf - SEOday 2018
The need for Speed: Advanced #webperf - SEOday 2018
Bastian Grimm3.4K views
腾讯大讲堂09 如何建设高性能网站 by George Ang
腾讯大讲堂09 如何建设高性能网站腾讯大讲堂09 如何建设高性能网站
腾讯大讲堂09 如何建设高性能网站
George Ang1K views

Recently uploaded

SAP Automation Using Bar Code and FIORI.pdf by
SAP Automation Using Bar Code and FIORI.pdfSAP Automation Using Bar Code and FIORI.pdf
SAP Automation Using Bar Code and FIORI.pdfVirendra Rai, PMP
23 views38 slides
【USB韌體設計課程】精選講義節錄-USB的列舉過程_艾鍗學院 by
【USB韌體設計課程】精選講義節錄-USB的列舉過程_艾鍗學院【USB韌體設計課程】精選講義節錄-USB的列舉過程_艾鍗學院
【USB韌體設計課程】精選講義節錄-USB的列舉過程_艾鍗學院IttrainingIttraining
58 views8 slides
Voice Logger - Telephony Integration Solution at Aegis by
Voice Logger - Telephony Integration Solution at AegisVoice Logger - Telephony Integration Solution at Aegis
Voice Logger - Telephony Integration Solution at AegisNirmal Sharma
39 views1 slide
MVP and prioritization.pdf by
MVP and prioritization.pdfMVP and prioritization.pdf
MVP and prioritization.pdfrahuldharwal141
31 views8 slides
Future of Indian ConsumerTech by
Future of Indian ConsumerTechFuture of Indian ConsumerTech
Future of Indian ConsumerTechKapil Khandelwal (KK)
22 views68 slides
The Research Portal of Catalonia: Growing more (information) & more (services) by
The Research Portal of Catalonia: Growing more (information) & more (services)The Research Portal of Catalonia: Growing more (information) & more (services)
The Research Portal of Catalonia: Growing more (information) & more (services)CSUC - Consorci de Serveis Universitaris de Catalunya
80 views25 slides

Recently uploaded(20)

SAP Automation Using Bar Code and FIORI.pdf by Virendra Rai, PMP
SAP Automation Using Bar Code and FIORI.pdfSAP Automation Using Bar Code and FIORI.pdf
SAP Automation Using Bar Code and FIORI.pdf
【USB韌體設計課程】精選講義節錄-USB的列舉過程_艾鍗學院 by IttrainingIttraining
【USB韌體設計課程】精選講義節錄-USB的列舉過程_艾鍗學院【USB韌體設計課程】精選講義節錄-USB的列舉過程_艾鍗學院
【USB韌體設計課程】精選講義節錄-USB的列舉過程_艾鍗學院
Voice Logger - Telephony Integration Solution at Aegis by Nirmal Sharma
Voice Logger - Telephony Integration Solution at AegisVoice Logger - Telephony Integration Solution at Aegis
Voice Logger - Telephony Integration Solution at Aegis
Nirmal Sharma39 views
Automating a World-Class Technology Conference; Behind the Scenes of CiscoLive by Network Automation Forum
Automating a World-Class Technology Conference; Behind the Scenes of CiscoLiveAutomating a World-Class Technology Conference; Behind the Scenes of CiscoLive
Automating a World-Class Technology Conference; Behind the Scenes of CiscoLive
STPI OctaNE CoE Brochure.pdf by madhurjyapb
STPI OctaNE CoE Brochure.pdfSTPI OctaNE CoE Brochure.pdf
STPI OctaNE CoE Brochure.pdf
madhurjyapb14 views
6g - REPORT.pdf by Liveplex
6g - REPORT.pdf6g - REPORT.pdf
6g - REPORT.pdf
Liveplex10 views
HTTP headers that make your website go faster - devs.gent November 2023 by Thijs Feryn
HTTP headers that make your website go faster - devs.gent November 2023HTTP headers that make your website go faster - devs.gent November 2023
HTTP headers that make your website go faster - devs.gent November 2023
Thijs Feryn22 views
Case Study Copenhagen Energy and Business Central.pdf by Aitana
Case Study Copenhagen Energy and Business Central.pdfCase Study Copenhagen Energy and Business Central.pdf
Case Study Copenhagen Energy and Business Central.pdf
Aitana16 views
"Running students' code in isolation. The hard way", Yurii Holiuk by Fwdays
"Running students' code in isolation. The hard way", Yurii Holiuk "Running students' code in isolation. The hard way", Yurii Holiuk
"Running students' code in isolation. The hard way", Yurii Holiuk
Fwdays17 views
GDG Cloud Southlake 28 Brad Taylor and Shawn Augenstein Old Problems in the N... by James Anderson
GDG Cloud Southlake 28 Brad Taylor and Shawn Augenstein Old Problems in the N...GDG Cloud Southlake 28 Brad Taylor and Shawn Augenstein Old Problems in the N...
GDG Cloud Southlake 28 Brad Taylor and Shawn Augenstein Old Problems in the N...
James Anderson92 views

After YSlow "A"

Editor's Notes

  1. Nicole