SlideShare a Scribd company logo
1 of 30
Download to read offline
Web Performance
    Optimization



stevesouders.com/docs/amsterdam-meetup-20120509.pptx
Disclaimer: This content does not necessarily reflect the opinions of my employer.
Web
WPO       Performance
          Optimization
drives traffic
improves UX
increases revenue
reduces costs
backend       frontend




      “waterfall chart”
Top 10


    24% - backend
    76% - frontend
10,000+


      8% - backend
     92% - frontend
www2012.wwwconference.org/proceedings/proceedings/p41.pdf
research.att.com/articles/featured_stories/2011_03/201102_Energy_efficient
Mobile State Machine




         ?
www.intuit.com
  125    requests
1,847    kB
1.587    seconds start render
9.651    seconds PLT
mbox.js docwrites /mbox/standard
 blocks ie7.css blocks rendering
don’t docwrite scripts
domain sharding
PNGs take 3-6 seconds to download


www.webpagetest.org/result/120503_RC_46SJA/
quickbooks.intuit.co
m106 requests
  632 kB
1.265 seconds start render
5.740 seconds PLT
mbox.js docwrites /mbox/standard
  blocks ie7.css blocks rendering
don’t docwrite scripts
domain sharding
add caching headers


www.webpagetest.org/result/120503_B9_46SJB/
turbotax.intuit.com
  112    requests
  438    kB
2.412    seconds start render
3.523    seconds PLT
rendering extremely blocked
concat scripts, concat stylesheets
don’t mix inline & external scripts
don’t docwrite scripts
domain sharding
add caching headers
sprites
www.webpagetest.org/result/120503_ZV_46SJC/
turbotax.intuit.com
                       this is turbotax




                    this is turbotax on Page Speed

www.webpagetest.org/compare
Caching
max-age (days)
                        3%
                  8%



        16%                                           none
                                                      max-age <= 0
                                                      0 < max-age <= 1
                                            55%
                                                      1 < max-age <= 30
         15%                                          30 < max-age <= 365
                                                      365 < max-age
                 3%




HTTP Archive: 54K URLs, 4.6M resources
55% - NO caching headers
18% - cacheable < 1 day    73%                    }
http://httparchive.org/interesting.php#max-age
adoption is slow

http://httparchive.org/trends.php?s=intersection
Why so few caching headers?
 resources are dynamic
 lack of awareness
55% uncacheable


                                    46%
                                    46%     same as                       same as
                                                              38%
                                             Jan 15                        Jan 15

                  Jan 15                      Feb 1                       Feb 15




     “uncacheable” resources aren’t very dynamic
     2 weeks is a long gap - daily would be higher
     http://www.stevesouders.com/blog/2012/03/22/cache-them-if-you-can/
all resources




                                46%
                                44%
                                                    35%
                                      same as              same as
                                       Jan 15               Jan 15

                   Jan 15              Feb 1               Feb 15


    “uncacheable” resources are LESS dynamic
                2 weeks: 46% (uncacheable) vs. 44% (all)
                4 weeks: 38% (uncacheable) vs. 35% (all)
    who votes for “lack of awareness”?
Resources unchanged over me for
       100%
                        ALL resources
100%


80%


60%
          45%

40%             36%
                      32%
                            28% 26%
                                      24% 22%
                                                21% 19%
                                                          18% 17% 17%
20%                                                                     16% 15% 14% 14%
                                                                                          13% 12% 12% 11% 11%
                                                                                                                10% 10% 9%


 0%
       2/11   3/15      4/15      5/16      6/15      7/15       8/15      9/15   10/15 11/15 12/15         1/15      2/15



 36% of resources unchanged after 1 month
 only 11% of resources cacheable for > 1 month
 http://www.stevesouders.com/blog/2012/03/22/cache-them-if-you-can/
40-60% of users missing cacheable resources
    20% of page views

http://www.yuiblog.com/blog/2007/01/04/performance-research-part-2/
(my) browser cache sizes:
  • Chrome: 320 MB (cap)*
  • IE 9: 250 MB
  • IE 7-8: 50 MB
  • Firefox 11: 830 MB*
  • Opera 11: 20 MB
  • iPhone 4: 30-35 MB
  • Galaxy Nexus: 18 MB

* Based on available disk space – I had 50 GB free.
Chrome for Windows stats:
 • 30% (48%?) of users have a full cache
 • full cache users reach that point after 4
   hours of active browsing (20 clock hours)
 • 7% of users clear their cache 1+ per week
 • 19% of users experience “fatal cache
   corruption” 1+ per week

https://plus.google.com/103382935642834907366/posts/XRekvZgdnBb
recap:
 • resource owners underutilize max-age
 • users are often missing cacheable resources
 • cache sizes are small; caches fill quickly




https://plus.google.com/103382935642834907366/posts/XRekvZgdnBb
what can we do?
• gather more/better stats
• make caches bigger (and fix corruption)
• improve purging logic (mime type, etc.)
• more intelligent, personalized browsers
cache compressed or uncompressed?

                                  Compressed responses
                  Browser
                                   cached compressed?
                Chrome 17                   yes
                 Firefox 11                 yes
                    IE 8                     no
                    IE 9                     no
                  Safari 5                   no
                 Opera 11                   yes




http://www.stevesouders.com/blog/2012/03/27/cache-compressed-or-uncompressed/

More Related Content

Similar to Steve Souders

14 Tips For Faster Web Apps
14 Tips For Faster Web Apps14 Tips For Faster Web Apps
14 Tips For Faster Web Apps
ashok kumar
 
Maximising Your SERP Potential - Enhance your listings with Rich Snippets
Maximising Your SERP Potential - Enhance your listings with Rich Snippets Maximising Your SERP Potential - Enhance your listings with Rich Snippets
Maximising Your SERP Potential - Enhance your listings with Rich Snippets
Peter Handley
 
Visitantes a la página del 3 al 30 enero
Visitantes a la página del 3 al 30 eneroVisitantes a la página del 3 al 30 enero
Visitantes a la página del 3 al 30 enero
Edwin Acuña
 
Csdn Drdobbs Tenni Theurer Yahoo
Csdn Drdobbs Tenni Theurer YahooCsdn Drdobbs Tenni Theurer Yahoo
Csdn Drdobbs Tenni Theurer Yahoo
guestb1b95b
 

Similar to Steve Souders (20)

Web Performance 101
Web Performance 101Web Performance 101
Web Performance 101
 
MeasureWorks - Design for Fast Experiences (Startup session).key
MeasureWorks  - Design for Fast Experiences (Startup session).keyMeasureWorks  - Design for Fast Experiences (Startup session).key
MeasureWorks - Design for Fast Experiences (Startup session).key
 
Mobile First Responsive Design
Mobile First Responsive DesignMobile First Responsive Design
Mobile First Responsive Design
 
14 Tips For Faster Web Apps
14 Tips For Faster Web Apps14 Tips For Faster Web Apps
14 Tips For Faster Web Apps
 
Intro to linux performance analysis
Intro to linux performance analysisIntro to linux performance analysis
Intro to linux performance analysis
 
Web browsers and browser version support
Web browsers and browser version supportWeb browsers and browser version support
Web browsers and browser version support
 
SearchMonkey
SearchMonkeySearchMonkey
SearchMonkey
 
Keys To World-Class Retail Web Performance - Expert tips for holiday web read...
Keys To World-Class Retail Web Performance - Expert tips for holiday web read...Keys To World-Class Retail Web Performance - Expert tips for holiday web read...
Keys To World-Class Retail Web Performance - Expert tips for holiday web read...
 
MeasureWorks - Design for Fast Experiences
MeasureWorks - Design for Fast ExperiencesMeasureWorks - Design for Fast Experiences
MeasureWorks - Design for Fast Experiences
 
Maximising Your SERP Potential - Enhance your listings with Rich Snippets
Maximising Your SERP Potential - Enhance your listings with Rich Snippets Maximising Your SERP Potential - Enhance your listings with Rich Snippets
Maximising Your SERP Potential - Enhance your listings with Rich Snippets
 
10 Things About Plone - Software Freedom Day 2008
10 Things About Plone - Software Freedom Day 200810 Things About Plone - Software Freedom Day 2008
10 Things About Plone - Software Freedom Day 2008
 
Progressive Web Apps – the return of the web?
Progressive Web Apps – the return of the web?Progressive Web Apps – the return of the web?
Progressive Web Apps – the return of the web?
 
Keynote Session : Kill The Password
Keynote Session : Kill The PasswordKeynote Session : Kill The Password
Keynote Session : Kill The Password
 
Its timetostopstalling londroid
Its timetostopstalling londroidIts timetostopstalling londroid
Its timetostopstalling londroid
 
腾讯大讲堂09 如何建设高性能网站
腾讯大讲堂09 如何建设高性能网站腾讯大讲堂09 如何建设高性能网站
腾讯大讲堂09 如何建设高性能网站
 
Fastandbeautiful zagrebtechsauna
Fastandbeautiful zagrebtechsaunaFastandbeautiful zagrebtechsauna
Fastandbeautiful zagrebtechsauna
 
10 Things You Probably Didn't Know About Plone
10 Things You Probably Didn't Know About Plone10 Things You Probably Didn't Know About Plone
10 Things You Probably Didn't Know About Plone
 
Visitantes a la página del 3 al 30 enero
Visitantes a la página del 3 al 30 eneroVisitantes a la página del 3 al 30 enero
Visitantes a la página del 3 al 30 enero
 
Csdn Drdobbs Tenni Theurer Yahoo
Csdn Drdobbs Tenni Theurer YahooCsdn Drdobbs Tenni Theurer Yahoo
Csdn Drdobbs Tenni Theurer Yahoo
 
RIR Report: LACNIC Update from ARIN 32
RIR Report: LACNIC Update from ARIN 32RIR Report: LACNIC Update from ARIN 32
RIR Report: LACNIC Update from ARIN 32
 

More from nlwebperf

More from nlwebperf (10)

MeasureWorks - eCommerce Live - Designing Time & Conversion
MeasureWorks -  eCommerce Live - Designing Time & ConversionMeasureWorks -  eCommerce Live - Designing Time & Conversion
MeasureWorks - eCommerce Live - Designing Time & Conversion
 
Aaron Peters aug2012
Aaron Peters aug2012Aaron Peters aug2012
Aaron Peters aug2012
 
Fashiolista
FashiolistaFashiolista
Fashiolista
 
Jinspired june2012
Jinspired june2012Jinspired june2012
Jinspired june2012
 
Nimbuzz march2012
Nimbuzz march2012Nimbuzz march2012
Nimbuzz march2012
 
Aspects of Modern APM Solutions
Aspects of Modern APM SolutionsAspects of Modern APM Solutions
Aspects of Modern APM Solutions
 
Nimsoft Web performance monitoring
Nimsoft Web performance monitoringNimsoft Web performance monitoring
Nimsoft Web performance monitoring
 
Hyves: Mobile app development with HTML5 and Javascript
Hyves: Mobile app development with HTML5 and JavascriptHyves: Mobile app development with HTML5 and Javascript
Hyves: Mobile app development with HTML5 and Javascript
 
NLCMG - Performance is good, Understanding performance is better
NLCMG - Performance is good, Understanding performance is better NLCMG - Performance is good, Understanding performance is better
NLCMG - Performance is good, Understanding performance is better
 
2deHands.be - Tuning a Big Classifieds Site
2deHands.be - Tuning a Big Classifieds Site2deHands.be - Tuning a Big Classifieds Site
2deHands.be - Tuning a Big Classifieds Site
 

Recently uploaded

Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Victor Rentea
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 

Recently uploaded (20)

AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Cyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdfCyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdf
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdf
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 

Steve Souders

  • 1. Web Performance Optimization stevesouders.com/docs/amsterdam-meetup-20120509.pptx Disclaimer: This content does not necessarily reflect the opinions of my employer.
  • 2. Web WPO Performance Optimization drives traffic improves UX increases revenue reduces costs
  • 3. backend frontend “waterfall chart”
  • 4. Top 10 24% - backend 76% - frontend
  • 5. 10,000+ 8% - backend 92% - frontend
  • 7.
  • 9.
  • 11.
  • 12. www.intuit.com 125 requests 1,847 kB 1.587 seconds start render 9.651 seconds PLT mbox.js docwrites /mbox/standard blocks ie7.css blocks rendering don’t docwrite scripts domain sharding PNGs take 3-6 seconds to download www.webpagetest.org/result/120503_RC_46SJA/
  • 13. quickbooks.intuit.co m106 requests 632 kB 1.265 seconds start render 5.740 seconds PLT mbox.js docwrites /mbox/standard blocks ie7.css blocks rendering don’t docwrite scripts domain sharding add caching headers www.webpagetest.org/result/120503_B9_46SJB/
  • 14. turbotax.intuit.com 112 requests 438 kB 2.412 seconds start render 3.523 seconds PLT rendering extremely blocked concat scripts, concat stylesheets don’t mix inline & external scripts don’t docwrite scripts domain sharding add caching headers sprites www.webpagetest.org/result/120503_ZV_46SJC/
  • 15. turbotax.intuit.com this is turbotax this is turbotax on Page Speed www.webpagetest.org/compare
  • 16.
  • 17.
  • 19. max-age (days) 3% 8% 16% none max-age <= 0 0 < max-age <= 1 55% 1 < max-age <= 30 15% 30 < max-age <= 365 365 < max-age 3% HTTP Archive: 54K URLs, 4.6M resources 55% - NO caching headers 18% - cacheable < 1 day 73% } http://httparchive.org/interesting.php#max-age
  • 21. Why so few caching headers? resources are dynamic lack of awareness
  • 22. 55% uncacheable 46% 46% same as same as 38% Jan 15 Jan 15 Jan 15 Feb 1 Feb 15 “uncacheable” resources aren’t very dynamic 2 weeks is a long gap - daily would be higher http://www.stevesouders.com/blog/2012/03/22/cache-them-if-you-can/
  • 23. all resources 46% 44% 35% same as same as Jan 15 Jan 15 Jan 15 Feb 1 Feb 15 “uncacheable” resources are LESS dynamic 2 weeks: 46% (uncacheable) vs. 44% (all) 4 weeks: 38% (uncacheable) vs. 35% (all) who votes for “lack of awareness”?
  • 24. Resources unchanged over me for 100% ALL resources 100% 80% 60% 45% 40% 36% 32% 28% 26% 24% 22% 21% 19% 18% 17% 17% 20% 16% 15% 14% 14% 13% 12% 12% 11% 11% 10% 10% 9% 0% 2/11 3/15 4/15 5/16 6/15 7/15 8/15 9/15 10/15 11/15 12/15 1/15 2/15 36% of resources unchanged after 1 month only 11% of resources cacheable for > 1 month http://www.stevesouders.com/blog/2012/03/22/cache-them-if-you-can/
  • 25. 40-60% of users missing cacheable resources 20% of page views http://www.yuiblog.com/blog/2007/01/04/performance-research-part-2/
  • 26. (my) browser cache sizes: • Chrome: 320 MB (cap)* • IE 9: 250 MB • IE 7-8: 50 MB • Firefox 11: 830 MB* • Opera 11: 20 MB • iPhone 4: 30-35 MB • Galaxy Nexus: 18 MB * Based on available disk space – I had 50 GB free.
  • 27. Chrome for Windows stats: • 30% (48%?) of users have a full cache • full cache users reach that point after 4 hours of active browsing (20 clock hours) • 7% of users clear their cache 1+ per week • 19% of users experience “fatal cache corruption” 1+ per week https://plus.google.com/103382935642834907366/posts/XRekvZgdnBb
  • 28. recap: • resource owners underutilize max-age • users are often missing cacheable resources • cache sizes are small; caches fill quickly https://plus.google.com/103382935642834907366/posts/XRekvZgdnBb
  • 29. what can we do? • gather more/better stats • make caches bigger (and fix corruption) • improve purging logic (mime type, etc.) • more intelligent, personalized browsers
  • 30. cache compressed or uncompressed? Compressed responses Browser cached compressed? Chrome 17 yes Firefox 11 yes IE 8 no IE 9 no Safari 5 no Opera 11 yes http://www.stevesouders.com/blog/2012/03/27/cache-compressed-or-uncompressed/