SlideShare une entreprise Scribd logo
1  sur  52
Télécharger pour lire hors ligne
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"

Contenu connexe

Tendances

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
 

Tendances (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
 

En vedette

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

En vedette (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
 

Similaire à 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
 

Similaire à 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
 

Dernier

+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@
 
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
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 

Dernier (20)

AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
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
 
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
 
+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...
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
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
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
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
 
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
 
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
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
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
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
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...
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
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
 

Go Faster, Webmasters