SlideShare una empresa de Scribd logo
1 de 52
Descargar para leer sin conexión
Mike Bailey

Melbourne Ruby Users Group
        July, 2010
Go Faster, Webmaster!
Talks by techies from:

Google, Yahoo, Microsoft, Amazon, Twitter,
Facebook, Firefox, Firebug, Chrome, Internet
Explorer and more!

1200 attendees (sold out)

Mostly technical audience
The Need for Speed
The Need for Speed

"Average load time of a web page is 4.9 seconds"
              - Urs Hölzle, Google
The Google Analytics exit rate for different page load times collected from Wikia data. Measured over 29 million pageviews
The Need for Speed

"Average load time of a web page is 4.9 seconds"
              - Urs Hölzle, Google
The Need for Speed

  "Average load time of a web page is 4.9 seconds"
                - Urs Hölzle, Google

          "The goal should be around 100 ms,
the time it takes for a reader to turn the page in a book"
                  - http://oreil.ly/bvYNk3
The Need for Speed

Google: +500 ms -20% traffic*
Amazon: +100 ms -1% sales*




     * http://bit.ly/9iRqAu
We monitor backend performance
but what about the front end?
the importance of frontend
               performance
               9%                91%




                 17               83%
                 %


                      iGoogle, primed cache




                      iGoogle, empty cache
Steve Souders http://bit.ly/Zxh4m
time spent on the frontend
                             Empty Cache   Primed Cache
   www.aol.com                      97%             97%
   www.ebay.com                     95%             81%
   www.facebook.com                 95%             81%
   www.google.com/search            47%              0%
   search.live.com/results          67%              0%
   www.msn.com                      98%             94%
   www.myspace.com                  98%             98%
   en.wikipedia.org/wiki            94%             91%
   www.yahoo.com                    97%             96%
   www.youtube.com                  98%             97%
Steve Souders http://bit.ly/Zxh4m                April 2008
The Performance Golden Rule

      80-90% of the end-user response time is
         spent on the frontend. Start there.
greater potential for improvement
simpler
proven to work



Steve Souders http://bit.ly/Zxh4m
To Measure is to Know
To Measure is to Know

Firefox - Firebug -> Net Window
To Measure is to Know

Firefox - Firebug -> Net Window

Chrome, Safari -> Web Inspector
To Measure is to Know

Firefox - Firebug -> Net Window

Chrome, Safari -> Web Inspector

IE -> HTTPWatch ($395-$44,395)
To Measure is to Know
To Measure is to Know

webpagetest.org
To Measure is to Know

webpagetest.org
To Measure is to Know

webpagetest.org

Webmaster Tools -> Labs -> Site Performance
To Measure is to Know

webpagetest.org

Webmaster Tools -> Labs -> Site Performance

showslow.com
Commercial Monitoring Services

gomez.com

keynote.com

webmetrics.com
How do we speed up our pages?
How do we speed up our pages?
How do we speed up our pages?
1. MAKE FEWER HTTP REQUESTS
            2. USE A CDN
            3. ADD AN EXPIRES HEADER
            4. GZIP COMPONENTS
            5. PUT STYLESHEETS AT THE TOP
            6. PUT SCRIPTS AT THE BOTTOM
            7. AVOID CSS EXPRESSIONS
14 RULES
            8. MAKE JS AND CSS EXTERNAL
            9. REDUCE DNS LOOKUPS
           10. MINIFY JS
           11. AVOID REDIRECTS
           12. REMOVE DUPLICATE SCRIPTS
           13. CONFIGURE ETAGS
           14. MAKE AJAX CACHEABLE
Analysis Tools
Analysis Tools

YSlow
Analysis Tools

YSlow

Page Speed
14 Rule Redux

Make Fewer Requests
- combine javascripts, stylesheets
- use css sprites
- reduce DNS lookups
- avoid redirects
- enable proxy and browser caching of assets

Make Smaller Requests
- gzip components
- optimize images
- minify javascript
Tools to Help

http://spriteme.org/

http://smush.it/

http://stevesouders.com/cuzillion/
The Problem(s) with TCP
The Problem(s) with TCP

RFC 2581 TCP Congestion Control
John Rauser http://oreil.ly/dkvpgM
John Rauser http://oreil.ly/dkvpgM
The Problem(s) with TCP

RFC 2581 TCP Congestion Control
The Problem(s) with TCP

RFC 2581 TCP Congestion Control

RFC 813 Delayed ACK
John Rauser http://oreil.ly/dkvpgM
John Rauser http://oreil.ly/dkvpgM
John Rauser http://oreil.ly/dkvpgM
Real World Data




http://mike.bailey.net.au/blog?p=38
The Problem(s) with TCP

RFC 2581 TCP Congestion Control

RFC 813 Delayed ACK
The Problem(s) with TCP

RFC 2581 TCP Congestion Control

RFC 813 Delayed ACK

Google have proposed improvements
Quick wins
Quick wins

Google AJAX Libraries API
Quick wins

Google AJAX Libraries API

GA Async Tracking Code
Want to learn more?

Videos from Velocity 2010 http://bit.ly/bL0Msz

Read Steve Souder's books,

"High Performance Web Sites" & "Even Faster Web Sites"

Más contenido relacionado

La actualidad más candente

Progressive web and the problem of JavaScript
Progressive web and the problem of JavaScriptProgressive web and the problem of JavaScript
Progressive web and the problem of JavaScript
Christian Heilmann
 
Internetsafety networkedparent
Internetsafety networkedparentInternetsafety networkedparent
Internetsafety networkedparent
Karen Brooks
 
مواقع الأرشفة اللحظية
مواقع الأرشفة اللحظيةمواقع الأرشفة اللحظية
مواقع الأرشفة اللحظية
Mohamed Lotfy
 

La actualidad más candente (9)

WebSocket - May 2011
WebSocket - May 2011WebSocket - May 2011
WebSocket - May 2011
 
Making Mobile Sites Faster
Making Mobile Sites FasterMaking Mobile Sites Faster
Making Mobile Sites Faster
 
Are Today’s Good Practices… Tomorrow’s Performance Anti-Patterns?
Are Today’s Good Practices… Tomorrow’s Performance Anti-Patterns?Are Today’s Good Practices… Tomorrow’s Performance Anti-Patterns?
Are Today’s Good Practices… Tomorrow’s Performance Anti-Patterns?
 
Progressive web and the problem of JavaScript
Progressive web and the problem of JavaScriptProgressive web and the problem of JavaScript
Progressive web and the problem of JavaScript
 
Content Security Policies: Let's Break Stuff for PHPSW at Bath Digital
Content Security Policies: Let's Break Stuff for PHPSW at Bath DigitalContent Security Policies: Let's Break Stuff for PHPSW at Bath Digital
Content Security Policies: Let's Break Stuff for PHPSW at Bath Digital
 
Content Security Policies: Let's Break Stuff @ PHP London, Sept 2017
Content Security Policies: Let's Break Stuff @ PHP London, Sept 2017Content Security Policies: Let's Break Stuff @ PHP London, Sept 2017
Content Security Policies: Let's Break Stuff @ PHP London, Sept 2017
 
Internetsafety networkedparent
Internetsafety networkedparentInternetsafety networkedparent
Internetsafety networkedparent
 
مواقع الأرشفة اللحظية
مواقع الأرشفة اللحظيةمواقع الأرشفة اللحظية
مواقع الأرشفة اللحظية
 
Content Security Policies: Let's Break Stuff for WordCamp London
Content Security Policies: Let's Break Stuff for WordCamp LondonContent Security Policies: Let's Break Stuff for WordCamp London
Content Security Policies: Let's Break Stuff for WordCamp London
 

Destacado

Ignite Talk Fun4paws
Ignite Talk Fun4pawsIgnite Talk Fun4paws
Ignite Talk Fun4paws
Mike Bailey
 
Computraining-Replay
Computraining-ReplayComputraining-Replay
Computraining-Replay
Elise Wehrlé
 

Destacado (13)

Chef
ChefChef
Chef
 
Ignite Talk Fun4paws
Ignite Talk Fun4pawsIgnite Talk Fun4paws
Ignite Talk Fun4paws
 
Workshop
WorkshopWorkshop
Workshop
 
Diaporama de Lyon
Diaporama de LyonDiaporama de Lyon
Diaporama de Lyon
 
Estancia en el Royal Brisbane&women´s Hospital
Estancia en el Royal Brisbane&women´s HospitalEstancia en el Royal Brisbane&women´s Hospital
Estancia en el Royal Brisbane&women´s Hospital
 
BGO2 complete presentation
BGO2 complete presentationBGO2 complete presentation
BGO2 complete presentation
 
E sidoc
E sidocE sidoc
E sidoc
 
Computraining-Replay
Computraining-ReplayComputraining-Replay
Computraining-Replay
 
Fixing Victoria: One Law at a Time
Fixing Victoria: One Law at a TimeFixing Victoria: One Law at a Time
Fixing Victoria: One Law at a Time
 
Javascript REST with Jester
Javascript REST with JesterJavascript REST with Jester
Javascript REST with Jester
 
Go Faster, Webmaster
Go Faster, WebmasterGo Faster, Webmaster
Go Faster, Webmaster
 
Beer Bottle Night Lamp
Beer Bottle Night LampBeer Bottle Night Lamp
Beer Bottle Night Lamp
 
The Six Highest Performing B2B Blog Post Formats
The Six Highest Performing B2B Blog Post FormatsThe Six Highest Performing B2B Blog Post Formats
The Six Highest Performing B2B Blog Post Formats
 

Similar a Go Faster, Webmasters

Csdn Drdobbs Tenni Theurer Yahoo
Csdn Drdobbs Tenni Theurer YahooCsdn Drdobbs Tenni Theurer Yahoo
Csdn Drdobbs Tenni Theurer Yahoo
guestb1b95b
 
腾讯大讲堂09 如何建设高性能网站
腾讯大讲堂09 如何建设高性能网站腾讯大讲堂09 如何建设高性能网站
腾讯大讲堂09 如何建设高性能网站
areyouok
 
Web 2.0 Expo: Even Faster Web Sites
Web 2.0 Expo: Even Faster Web SitesWeb 2.0 Expo: Even Faster Web Sites
Web 2.0 Expo: Even Faster Web Sites
Steve Souders
 

Similar a Go Faster, Webmasters (20)

Csdn Drdobbs Tenni Theurer Yahoo
Csdn Drdobbs Tenni Theurer YahooCsdn Drdobbs Tenni Theurer Yahoo
Csdn Drdobbs Tenni Theurer Yahoo
 
腾讯大讲堂09 如何建设高性能网站
腾讯大讲堂09 如何建设高性能网站腾讯大讲堂09 如何建设高性能网站
腾讯大讲堂09 如何建设高性能网站
 
腾讯大讲堂09 如何建设高性能网站
腾讯大讲堂09 如何建设高性能网站腾讯大讲堂09 如何建设高性能网站
腾讯大讲堂09 如何建设高性能网站
 
A Look at the Performance of SAP's Modern UIs
A Look at the Performance of SAP's Modern UIsA Look at the Performance of SAP's Modern UIs
A Look at the Performance of SAP's Modern UIs
 
Developing web applications in 2010
Developing web applications in 2010Developing web applications in 2010
Developing web applications in 2010
 
High Performance Web Sites
High Performance Web SitesHigh Performance Web Sites
High Performance Web Sites
 
High Performance Websites By Souders Steve
High Performance Websites By Souders SteveHigh Performance Websites By Souders Steve
High Performance Websites By Souders Steve
 
Plop
PlopPlop
Plop
 
Web Front End Performance
Web Front End PerformanceWeb Front End Performance
Web Front End Performance
 
Faster web pages
Faster web pagesFaster web pages
Faster web pages
 
High Performance Websites
High Performance WebsitesHigh Performance Websites
High Performance Websites
 
EscConf - Deep Dive Frontend Optimization
EscConf - Deep Dive Frontend OptimizationEscConf - Deep Dive Frontend Optimization
EscConf - Deep Dive Frontend Optimization
 
Os Souders
Os SoudersOs Souders
Os Souders
 
Voices that matter: High Performance Web Sites
Voices that matter: High Performance Web SitesVoices that matter: High Performance Web Sites
Voices that matter: High Performance Web Sites
 
A web perf dashboard up & running in 90 minutes presentation
A web perf dashboard up & running in 90 minutes presentationA web perf dashboard up & running in 90 minutes presentation
A web perf dashboard up & running in 90 minutes presentation
 
Web performance optimization for modern web applications
Web performance optimization for modern web applicationsWeb performance optimization for modern web applications
Web performance optimization for modern web applications
 
Optimizing your WordPress website
Optimizing your WordPress websiteOptimizing your WordPress website
Optimizing your WordPress website
 
Web Performance 101
Web Performance 101Web Performance 101
Web Performance 101
 
Web 2.0 Expo: Even Faster Web Sites
Web 2.0 Expo: Even Faster Web SitesWeb 2.0 Expo: Even Faster Web Sites
Web 2.0 Expo: Even Faster Web Sites
 
GDD Japan 2009 - Designing OpenSocial Apps For Speed and Scale
GDD Japan 2009 - Designing OpenSocial Apps For Speed and ScaleGDD Japan 2009 - Designing OpenSocial Apps For Speed and Scale
GDD Japan 2009 - Designing OpenSocial Apps For Speed and Scale
 

Último

CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
giselly40
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
vu2urc
 

Último (20)

04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
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
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 

Go Faster, Webmasters