SlideShare a Scribd company logo
1 of 70
Download to read offline
JUNE 5 2010




   Making WordPress Faster
    Front-end Performance Tips




     We craft engaging interactive experiences on open & sustainable platforms

     — Scott Robbin
     — scott@weightshift.com



Saturday, June 5, 2010
Saturday, June 5, 2010
Making WordPress Faster                                 FRONT-END PERFORMANCE TIPS




    Agenda
      01                 What is front-end performance?

     02                  Let’s make it faster.

     03                  Recap and questions

Saturday, June 5, 2010
Making WordPress Faster                          FRONT-END PERFORMANCE TIPS




   Who?
   • Have an understanding of HTML, CSS and how websites
        are delivered.
   • Are a theme developer, do client work or just want to
        make your website faster.
   • Know how to use FTP and ability to edit .htaccess or
        Apache config files.



Saturday, June 5, 2010
Making WordPress Faster                           FRONT-END PERFORMANCE TIPS




   Why?
   • Google now uses page speed in their calculation of
        Page Rank.
   • Improve user experience and conversion rates.
   • Helps with Digg, Slashdot or getting Fireballed.
   • Reduce costs for high-traffic websites.


Saturday, June 5, 2010
Making WordPress Faster   FRONT-END PERFORMANCE TIPS




        01
   What is front-end
   performance?

Saturday, June 5, 2010
Making WordPress Faster                          FRONT-END PERFORMANCE TIPS




     01           What is front-end performance?




Saturday, June 5, 2010
Making WordPress Faster                          FRONT-END PERFORMANCE TIPS




     01           What is front-end performance?
   • 80/20 Principle




Saturday, June 5, 2010
Making WordPress Faster                                  FRONT-END PERFORMANCE TIPS




                                           Steve Souders
   01     What is front-end performance?
Saturday, June 5, 2010
Making WordPress Faster                                    FRONT-END PERFORMANCE TIPS




                                           80/20 Principle

   01     What is front-end performance?
Saturday, June 5, 2010
Making WordPress Faster                                    FRONT-END PERFORMANCE TIPS




                                           80/20 Principle

   01     What is front-end performance?
Saturday, June 5, 2010
Making WordPress Faster                                             FRONT-END PERFORMANCE TIPS




                                            h-mag.com           13%

                                    smashingapps.com            2%

                                           zeldman.com          12%

                                           mightygirl.net       1%

                                           gigaom.com           2%

                                               ma.tt            14%


                                              80/20 Principle

   01     What is front-end performance?
Saturday, June 5, 2010
Making WordPress Faster                          FRONT-END PERFORMANCE TIPS




     01           What is front-end performance?
   • 80/20 Principle




Saturday, June 5, 2010
Making WordPress Faster                          FRONT-END PERFORMANCE TIPS




     01           What is front-end performance?
   • 80/20 Principle
   • Performance Grading (YSlow)




Saturday, June 5, 2010
Making WordPress Faster                                   FRONT-END PERFORMANCE TIPS




                         Yahoo! YSlow      Google Page Speed
                               14 Rules          26 Rules




   01     What is front-end performance?
Saturday, June 5, 2010
Making WordPress Faster                                          FRONT-END PERFORMANCE TIPS




                                            h-mag.com         E (51)

                                      smashingapps.com        D (66)

                                           zeldman.com        D (60)

                                           mightygirl.net     E (57)

                                           gigaom.com         E (56)

                                               ma.tt          D (68)

                                               YSlow Scores

   01     What is front-end performance?
Saturday, June 5, 2010
Making WordPress Faster                          FRONT-END PERFORMANCE TIPS




     01           What is front-end performance?
   • 80/20 Principle
   • Performance Grading (YSlow)




Saturday, June 5, 2010
Making WordPress Faster                          FRONT-END PERFORMANCE TIPS




     01           What is front-end performance?
   • 80/20 Principle
   • Performance Grading (YSlow)
   • 3 Basic Concepts:




Saturday, June 5, 2010
Making WordPress Faster                          FRONT-END PERFORMANCE TIPS




     01           What is front-end performance?
   • 80/20 Principle
   • Performance Grading (YSlow)
   • 3 Basic Concepts:
        01 — Make fewer file requests




Saturday, June 5, 2010
Making WordPress Faster                          FRONT-END PERFORMANCE TIPS




     01           What is front-end performance?
   • 80/20 Principle
   • Performance Grading (YSlow)
   • 3 Basic Concepts:
        01 — Make fewer file requests
        02 — Download files concurrently




Saturday, June 5, 2010
Making WordPress Faster                          FRONT-END PERFORMANCE TIPS




     01           What is front-end performance?
   • 80/20 Principle
   • Performance Grading (YSlow)
   • 3 Basic Concepts:
        01 — Make fewer file requests
        02 — Download files concurrently
        03 — Far-future cache expiration


Saturday, June 5, 2010
Making WordPress Faster   FRONT-END PERFORMANCE TIPS




      02
   Let’s make it faster.


Saturday, June 5, 2010
Making WordPress Faster                 FRONT-END PERFORMANCE TIPS




    02            Let’s make it faster.




Saturday, June 5, 2010
Making WordPress Faster                 FRONT-END PERFORMANCE TIPS




    02            Let’s make it faster.
   • Standard WordPress Installation




Saturday, June 5, 2010
Making WordPress Faster            FRONT-END PERFORMANCE TIPS




   Standard WordPress Installation

        • WordPress
        • ChocoTheme
        • Plugins
          • Lightbox 2
          • Google Analyticator




   02     Let’s make it faster.
Saturday, June 5, 2010
Making WordPress Faster                 FRONT-END PERFORMANCE TIPS




    02            Let’s make it faster.
   • Standard WordPress Installation




Saturday, June 5, 2010
Making WordPress Faster                   FRONT-END PERFORMANCE TIPS




    02            Let’s make it faster.
   • Standard WordPress Installation
   • Statistics before performance tuning




Saturday, June 5, 2010
Making WordPress Faster                 FRONT-END PERFORMANCE TIPS




   Statistics before performance tuning

        • Page Load: 2.3s
        • Page Weight:
           • 183KB (empty)
           • 4KB (primed)
        • # of file requests: 36
        • % HTML: 22%



   02     Let’s make it faster.
Saturday, June 5, 2010
Making WordPress Faster                  FRONT-END PERFORMANCE TIPS




   Statistics before performance tuning

        • YSlow: D (67)
        • 9 JavaScript files
           • All in the <head>
        • 3 CSS files
        • 19 background images
        • 34 files w/o far-future expires
        • 33 files w/ misconfigured ETags

   02     Let’s make it faster
Saturday, June 5, 2010
Making WordPress Faster                   FRONT-END PERFORMANCE TIPS




    02            Let’s make it faster.
   • Standard WordPress Installation
   • Statistics before performance tuning




Saturday, June 5, 2010
Making WordPress Faster                   FRONT-END PERFORMANCE TIPS




    02            Let’s make it faster.
   • Standard WordPress Installation
   • Statistics before performance tuning
   • 3 Basic Concepts:




Saturday, June 5, 2010
Making WordPress Faster                   FRONT-END PERFORMANCE TIPS




    02            Let’s make it faster.
   • Standard WordPress Installation
   • Statistics before performance tuning
   • 3 Basic Concepts:
             01 — Make fewer file requests




Saturday, June 5, 2010
Making WordPress Faster                                            FRONT-END PERFORMANCE TIPS




   01 — Make fewer file requests




                                  Make sure your plugins are using
                                  one JavaScript Framework




   02     Let’s make it faster.
Saturday, June 5, 2010
Making WordPress Faster                       FRONT-END PERFORMANCE TIPS




   01 — Make fewer file requests




                                  CSS Sprites


   02     Let’s make it faster.
Saturday, June 5, 2010
Making WordPress Faster                        FRONT-END PERFORMANCE TIPS




   01 — Make fewer file requests




                                  SpriteMe.org
   02     Let’s make it faster.
Saturday, June 5, 2010
Making WordPress Faster                                            FRONT-END PERFORMANCE TIPS




   01 — Make fewer file requests




                                           PHP minify
                                  http://code.google.com/p/minify/




   02     Let’s make it faster.
Saturday, June 5, 2010
Making WordPress Faster                   FRONT-END PERFORMANCE TIPS




    02            Let’s make it faster.
   • Standard WordPress Installation
   • Statistics before performance tuning
   • 3 Basic Concepts:
             01 — Make fewer file requests




Saturday, June 5, 2010
Making WordPress Faster                      FRONT-END PERFORMANCE TIPS




    02            Let’s make it faster.
   • Standard WordPress Installation
   • Statistics before performance tuning
   • 3 Basic Concepts:
             01 — Make fewer file requests
             02 — Download files concurrently




Saturday, June 5, 2010
Making WordPress Faster                                            FRONT-END PERFORMANCE TIPS




   02 — Download files concurrently




                                  CSS at the top, JS at the bottom

   02     Let’s make it faster.
Saturday, June 5, 2010
Making WordPress Faster            FRONT-END PERFORMANCE TIPS




   02 — Download files concurrently




   02     Let’s make it faster.
Saturday, June 5, 2010
Making WordPress Faster                                       FRONT-END PERFORMANCE TIPS




   02 — Download files concurrently




                                  JavaScript to Footer Plugin

   02     Let’s make it faster.
Saturday, June 5, 2010
Making WordPress Faster                                          FRONT-END PERFORMANCE TIPS




   02 — Download files concurrently




                                  Google Analytics for WP Plugin
   02     Let’s make it faster.
Saturday, June 5, 2010
Making WordPress Faster                                     FRONT-END PERFORMANCE TIPS




   02 — Download files concurrently




                                  CDN: Google-hosted jQuery


   02     Let’s make it faster.
Saturday, June 5, 2010
Making WordPress Faster                      FRONT-END PERFORMANCE TIPS




    02            Let’s make it faster.
   • Standard WordPress Installation
   • Statistics before performance tuning
   • 3 Basic Concepts:
             01 — Make fewer file requests
             02 — Download files concurrently




Saturday, June 5, 2010
Making WordPress Faster                       FRONT-END PERFORMANCE TIPS




    02            Let’s make it faster.
   • Standard WordPress Installation
   • Statistics before performance tuning
   • 3 Basic Concepts:
             01 — Make fewer file requests
             02 — Download files concurrently
             03 — Far-future cache expiration


Saturday, June 5, 2010
Making WordPress Faster                                       FRONT-END PERFORMANCE TIPS




   03 — Far-future cache expiration




                                  Simple changes to .htaccess



   02     Let’s make it faster.
Saturday, June 5, 2010
Making WordPress Faster                       FRONT-END PERFORMANCE TIPS




    02            Let’s make it faster.
   • Standard WordPress Installation
   • Statistics before performance tuning
   • 3 Basic Concepts:
             01 — Make fewer file requests
             02 — Download files concurrently
             03 — Far-future cache expiration


Saturday, June 5, 2010
Making WordPress Faster                       FRONT-END PERFORMANCE TIPS




    02            Let’s make it faster.
   • Standard WordPress Installation
   • Statistics before performance tuning
   • 3 Basic Concepts:
             01 — Make fewer file requests
             02 — Download files concurrently
             03 — Far-future cache expiration
   • Statistics after performance tuning
Saturday, June 5, 2010
Making WordPress Faster                FRONT-END PERFORMANCE TIPS




   Statistics after performance tuning




   02     Let’s make it faster.
Saturday, June 5, 2010
Making WordPress Faster                FRONT-END PERFORMANCE TIPS




   Statistics after performance tuning

        •YSlow




   02     Let’s make it faster.
Saturday, June 5, 2010
Making WordPress Faster                FRONT-END PERFORMANCE TIPS




   Statistics after performance tuning

        •YSlow
          • Before: D (67)




   02     Let’s make it faster.
Saturday, June 5, 2010
Making WordPress Faster                FRONT-END PERFORMANCE TIPS




   Statistics after performance tuning

        •YSlow
          • Before: D (67)
          • After: B (86)




   02     Let’s make it faster.
Saturday, June 5, 2010
Making WordPress Faster                FRONT-END PERFORMANCE TIPS




   Statistics after performance tuning

        •YSlow
          • Before: D (67)
          • After: B (86)
        • # of File Requests




   02     Let’s make it faster.
Saturday, June 5, 2010
Making WordPress Faster                FRONT-END PERFORMANCE TIPS




   Statistics after performance tuning

        •YSlow
          • Before: D (67)
          • After: B (86)
        • # of File Requests
          • Before: 36




   02     Let’s make it faster.
Saturday, June 5, 2010
Making WordPress Faster                FRONT-END PERFORMANCE TIPS




   Statistics after performance tuning

        •YSlow
          • Before: D (67)
          • After: B (86)
        • # of File Requests
          • Before: 36
          • After: 17




   02     Let’s make it faster.
Saturday, June 5, 2010
Making WordPress Faster                FRONT-END PERFORMANCE TIPS




   Statistics after performance tuning

        •YSlow
          • Before: D (67)
          • After: B (86)
        • # of File Requests
          • Before: 36
          • After: 17
        • Page Load Time



   02     Let’s make it faster.
Saturday, June 5, 2010
Making WordPress Faster                FRONT-END PERFORMANCE TIPS




   Statistics after performance tuning

        •YSlow
          • Before: D (67)
          • After: B (86)
        • # of File Requests
          • Before: 36
          • After: 17
        • Page Load Time
          • Before: 2.3s


   02     Let’s make it faster.
Saturday, June 5, 2010
Making WordPress Faster                FRONT-END PERFORMANCE TIPS




   Statistics after performance tuning

        •YSlow
          • Before: D (67)
          • After: B (86)
        • # of File Requests
          • Before: 36
          • After: 17
        • Page Load Time
          • Before: 2.3s
          • After: 1.3s
   02     Let’s make it faster.
Saturday, June 5, 2010
Making WordPress Faster   FRONT-END PERFORMANCE TIPS




       03
   Recap and questions


Saturday, June 5, 2010
Making WordPress Faster               FRONT-END PERFORMANCE TIPS




    03            Recap and questions




Saturday, June 5, 2010
Making WordPress Faster               FRONT-END PERFORMANCE TIPS




    03            Recap and questions
     01 — Make fewer file requests




Saturday, June 5, 2010
Making WordPress Faster               FRONT-END PERFORMANCE TIPS




    03            Recap and questions
     01 — Make fewer file requests
           • One JavaScript framework




Saturday, June 5, 2010
Making WordPress Faster                 FRONT-END PERFORMANCE TIPS




    03            Recap and questions
     01 — Make fewer file requests
           • One JavaScript framework
           • CSS Sprites (SpriteMe.org)




Saturday, June 5, 2010
Making WordPress Faster                 FRONT-END PERFORMANCE TIPS




    03            Recap and questions
     01 — Make fewer file requests
           • One JavaScript framework
           • CSS Sprites (SpriteMe.org)
           • PHP Minify




Saturday, June 5, 2010
Making WordPress Faster                 FRONT-END PERFORMANCE TIPS




    03            Recap and questions
     01 — Make fewer file requests
           • One JavaScript framework
           • CSS Sprites (SpriteMe.org)
           • PHP Minify
     02 — Download files concurrently




Saturday, June 5, 2010
Making WordPress Faster                               FRONT-END PERFORMANCE TIPS




    03            Recap and questions
     01 — Make fewer file requests
           • One JavaScript framework
           • CSS Sprites (SpriteMe.org)
           • PHP Minify
     02 — Download files concurrently
           • CSS at the top, JavaScript at the bottom




Saturday, June 5, 2010
Making WordPress Faster                               FRONT-END PERFORMANCE TIPS




    03            Recap and questions
     01 — Make fewer file requests
           • One JavaScript framework
           • CSS Sprites (SpriteMe.org)
           • PHP Minify
     02 — Download files concurrently
           • CSS at the top, JavaScript at the bottom
           • CDN: Google-hosted jQuery




Saturday, June 5, 2010
Making WordPress Faster                               FRONT-END PERFORMANCE TIPS




    03            Recap and questions
     01 — Make fewer file requests
           • One JavaScript framework
           • CSS Sprites (SpriteMe.org)
           • PHP Minify
     02 — Download files concurrently
           • CSS at the top, JavaScript at the bottom
           • CDN: Google-hosted jQuery
     03 — Far-future cache expiration



Saturday, June 5, 2010
Making WordPress Faster                                    FRONT-END PERFORMANCE TIPS




    03            Recap and questions
     01 — Make fewer file requests
           • One JavaScript framework
           • CSS Sprites (SpriteMe.org)
           • PHP Minify
     02 — Download files concurrently
           • CSS at the top, JavaScript at the bottom
           • CDN: Google-hosted jQuery
     03 — Far-future cache expiration
           • ETag and mod_expires directives for .htaccess

Saturday, June 5, 2010
Making WordPress Faster             FRONT-END PERFORMANCE TIPS




    Thank you.

      SCOTT ROBBIN
      Twitter: @srobbin
      E-mail: scott@weightshift.com
      Web:     srobbin.com
Saturday, June 5, 2010

More Related Content

Similar to Making WordPress Faster: Front-end Performance Techniques

SEO Why bother if your site is dead slow
SEO Why bother if your site is dead slowSEO Why bother if your site is dead slow
SEO Why bother if your site is dead slowJira ICT
 
Joomla Extreme Performance
Joomla Extreme PerformanceJoomla Extreme Performance
Joomla Extreme PerformanceMitch Pirtle
 
Windycityrails page performance
Windycityrails page performanceWindycityrails page performance
Windycityrails page performanceJohn McCaffrey
 
Improving throughput with the Theory of Constraints and Queuing Theory
Improving throughput with the Theory of Constraints and Queuing TheoryImproving throughput with the Theory of Constraints and Queuing Theory
Improving throughput with the Theory of Constraints and Queuing TheoryAndrew Rusling
 
Are you remotely agile? - ATS2015
Are you remotely agile?  - ATS2015Are you remotely agile?  - ATS2015
Are you remotely agile? - ATS2015Mark Kilby
 
WordPress Optimization with Litespeed Cache #wpjkt14
WordPress Optimization with Litespeed Cache  #wpjkt14WordPress Optimization with Litespeed Cache  #wpjkt14
WordPress Optimization with Litespeed Cache #wpjkt14WordPress
 
Mysql features for the enterprise
Mysql features for the enterpriseMysql features for the enterprise
Mysql features for the enterpriseGiuseppe Maxia
 
Better front-end development in Atlassian plugins
Better front-end development in Atlassian pluginsBetter front-end development in Atlassian plugins
Better front-end development in Atlassian pluginsAtlassian
 
EscConf - Deep Dive Frontend Optimization
EscConf - Deep Dive Frontend OptimizationEscConf - Deep Dive Frontend Optimization
EscConf - Deep Dive Frontend OptimizationJonathan Klein
 
WordPress DK at DrupalCamp Copenhagen 2009
WordPress DK at DrupalCamp Copenhagen 2009WordPress DK at DrupalCamp Copenhagen 2009
WordPress DK at DrupalCamp Copenhagen 2009René Clausen Nielsen
 
WordPress Lightning Fast
WordPress Lightning FastWordPress Lightning Fast
WordPress Lightning FastIan T. Rogers
 
Scaling Your Tests: Continued Change Without Fear
Scaling Your Tests: Continued Change Without FearScaling Your Tests: Continued Change Without Fear
Scaling Your Tests: Continued Change Without FearTechWell
 
Advanced WordPress: Session II
Advanced WordPress: Session IIAdvanced WordPress: Session II
Advanced WordPress: Session IIDigital Wax Works
 
SEO disasters: the good, the bad and the taboo: Steven van Vessum
SEO disasters: the good, the bad and the taboo: Steven van VessumSEO disasters: the good, the bad and the taboo: Steven van Vessum
SEO disasters: the good, the bad and the taboo: Steven van VessumSearchNorwich
 
Springboot introduction
Springboot introductionSpringboot introduction
Springboot introductionSagar Verma
 

Similar to Making WordPress Faster: Front-end Performance Techniques (20)

SEO Why bother if your site is dead slow
SEO Why bother if your site is dead slowSEO Why bother if your site is dead slow
SEO Why bother if your site is dead slow
 
Joomla Extreme Performance
Joomla Extreme PerformanceJoomla Extreme Performance
Joomla Extreme Performance
 
Windycityrails page performance
Windycityrails page performanceWindycityrails page performance
Windycityrails page performance
 
Improving throughput with the Theory of Constraints and Queuing Theory
Improving throughput with the Theory of Constraints and Queuing TheoryImproving throughput with the Theory of Constraints and Queuing Theory
Improving throughput with the Theory of Constraints and Queuing Theory
 
Are you remotely agile? - ATS2015
Are you remotely agile?  - ATS2015Are you remotely agile?  - ATS2015
Are you remotely agile? - ATS2015
 
Boots and Shoeboxes
Boots and ShoeboxesBoots and Shoeboxes
Boots and Shoeboxes
 
WordPress Optimization with Litespeed Cache #wpjkt14
WordPress Optimization with Litespeed Cache  #wpjkt14WordPress Optimization with Litespeed Cache  #wpjkt14
WordPress Optimization with Litespeed Cache #wpjkt14
 
Mysql features for the enterprise
Mysql features for the enterpriseMysql features for the enterprise
Mysql features for the enterprise
 
Better front-end development in Atlassian plugins
Better front-end development in Atlassian pluginsBetter front-end development in Atlassian plugins
Better front-end development in Atlassian plugins
 
CALM Wordpress 102
CALM Wordpress 102CALM Wordpress 102
CALM Wordpress 102
 
EscConf - Deep Dive Frontend Optimization
EscConf - Deep Dive Frontend OptimizationEscConf - Deep Dive Frontend Optimization
EscConf - Deep Dive Frontend Optimization
 
WordPress DK at DrupalCamp Copenhagen 2009
WordPress DK at DrupalCamp Copenhagen 2009WordPress DK at DrupalCamp Copenhagen 2009
WordPress DK at DrupalCamp Copenhagen 2009
 
WordPress Lightning Fast
WordPress Lightning FastWordPress Lightning Fast
WordPress Lightning Fast
 
Spring 3
Spring 3Spring 3
Spring 3
 
Scaling Your Tests: Continued Change Without Fear
Scaling Your Tests: Continued Change Without FearScaling Your Tests: Continued Change Without Fear
Scaling Your Tests: Continued Change Without Fear
 
Building a Website The Easy Way With Wordpress
Building a Website The Easy Way With WordpressBuilding a Website The Easy Way With Wordpress
Building a Website The Easy Way With Wordpress
 
4-identifying-problems.pdf
4-identifying-problems.pdf4-identifying-problems.pdf
4-identifying-problems.pdf
 
Advanced WordPress: Session II
Advanced WordPress: Session IIAdvanced WordPress: Session II
Advanced WordPress: Session II
 
SEO disasters: the good, the bad and the taboo: Steven van Vessum
SEO disasters: the good, the bad and the taboo: Steven van VessumSEO disasters: the good, the bad and the taboo: Steven van Vessum
SEO disasters: the good, the bad and the taboo: Steven van Vessum
 
Springboot introduction
Springboot introductionSpringboot introduction
Springboot introduction
 

Recently uploaded

The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksSoftradix Technologies
 
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024BookNet Canada
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersThousandEyes
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhisoniya singh
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024Neo4j
 
Artificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraArtificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraDeakin University
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
APIForce Zurich 5 April Automation LPDG
APIForce Zurich 5 April  Automation LPDGAPIForce Zurich 5 April  Automation LPDG
APIForce Zurich 5 April Automation LPDGMarianaLemus7
 
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024BookNet Canada
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptxLBM Solutions
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 

Recently uploaded (20)

The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other Frameworks
 
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
The transition to renewables in India.pdf
The transition to renewables in India.pdfThe transition to renewables in India.pdf
The transition to renewables in India.pdf
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024
 
Artificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraArtificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning era
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
APIForce Zurich 5 April Automation LPDG
APIForce Zurich 5 April  Automation LPDGAPIForce Zurich 5 April  Automation LPDG
APIForce Zurich 5 April Automation LPDG
 
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptx
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping Elbows
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 

Making WordPress Faster: Front-end Performance Techniques

  • 1. JUNE 5 2010 Making WordPress Faster Front-end Performance Tips We craft engaging interactive experiences on open & sustainable platforms — Scott Robbin — scott@weightshift.com Saturday, June 5, 2010
  • 3. Making WordPress Faster FRONT-END PERFORMANCE TIPS Agenda 01 What is front-end performance? 02 Let’s make it faster. 03 Recap and questions Saturday, June 5, 2010
  • 4. Making WordPress Faster FRONT-END PERFORMANCE TIPS Who? • Have an understanding of HTML, CSS and how websites are delivered. • Are a theme developer, do client work or just want to make your website faster. • Know how to use FTP and ability to edit .htaccess or Apache config files. Saturday, June 5, 2010
  • 5. Making WordPress Faster FRONT-END PERFORMANCE TIPS Why? • Google now uses page speed in their calculation of Page Rank. • Improve user experience and conversion rates. • Helps with Digg, Slashdot or getting Fireballed. • Reduce costs for high-traffic websites. Saturday, June 5, 2010
  • 6. Making WordPress Faster FRONT-END PERFORMANCE TIPS 01 What is front-end performance? Saturday, June 5, 2010
  • 7. Making WordPress Faster FRONT-END PERFORMANCE TIPS 01 What is front-end performance? Saturday, June 5, 2010
  • 8. Making WordPress Faster FRONT-END PERFORMANCE TIPS 01 What is front-end performance? • 80/20 Principle Saturday, June 5, 2010
  • 9. Making WordPress Faster FRONT-END PERFORMANCE TIPS Steve Souders 01 What is front-end performance? Saturday, June 5, 2010
  • 10. Making WordPress Faster FRONT-END PERFORMANCE TIPS 80/20 Principle 01 What is front-end performance? Saturday, June 5, 2010
  • 11. Making WordPress Faster FRONT-END PERFORMANCE TIPS 80/20 Principle 01 What is front-end performance? Saturday, June 5, 2010
  • 12. Making WordPress Faster FRONT-END PERFORMANCE TIPS h-mag.com 13% smashingapps.com 2% zeldman.com 12% mightygirl.net 1% gigaom.com 2% ma.tt 14% 80/20 Principle 01 What is front-end performance? Saturday, June 5, 2010
  • 13. Making WordPress Faster FRONT-END PERFORMANCE TIPS 01 What is front-end performance? • 80/20 Principle Saturday, June 5, 2010
  • 14. Making WordPress Faster FRONT-END PERFORMANCE TIPS 01 What is front-end performance? • 80/20 Principle • Performance Grading (YSlow) Saturday, June 5, 2010
  • 15. Making WordPress Faster FRONT-END PERFORMANCE TIPS Yahoo! YSlow Google Page Speed 14 Rules 26 Rules 01 What is front-end performance? Saturday, June 5, 2010
  • 16. Making WordPress Faster FRONT-END PERFORMANCE TIPS h-mag.com E (51) smashingapps.com D (66) zeldman.com D (60) mightygirl.net E (57) gigaom.com E (56) ma.tt D (68) YSlow Scores 01 What is front-end performance? Saturday, June 5, 2010
  • 17. Making WordPress Faster FRONT-END PERFORMANCE TIPS 01 What is front-end performance? • 80/20 Principle • Performance Grading (YSlow) Saturday, June 5, 2010
  • 18. Making WordPress Faster FRONT-END PERFORMANCE TIPS 01 What is front-end performance? • 80/20 Principle • Performance Grading (YSlow) • 3 Basic Concepts: Saturday, June 5, 2010
  • 19. Making WordPress Faster FRONT-END PERFORMANCE TIPS 01 What is front-end performance? • 80/20 Principle • Performance Grading (YSlow) • 3 Basic Concepts: 01 — Make fewer file requests Saturday, June 5, 2010
  • 20. Making WordPress Faster FRONT-END PERFORMANCE TIPS 01 What is front-end performance? • 80/20 Principle • Performance Grading (YSlow) • 3 Basic Concepts: 01 — Make fewer file requests 02 — Download files concurrently Saturday, June 5, 2010
  • 21. Making WordPress Faster FRONT-END PERFORMANCE TIPS 01 What is front-end performance? • 80/20 Principle • Performance Grading (YSlow) • 3 Basic Concepts: 01 — Make fewer file requests 02 — Download files concurrently 03 — Far-future cache expiration Saturday, June 5, 2010
  • 22. Making WordPress Faster FRONT-END PERFORMANCE TIPS 02 Let’s make it faster. Saturday, June 5, 2010
  • 23. Making WordPress Faster FRONT-END PERFORMANCE TIPS 02 Let’s make it faster. Saturday, June 5, 2010
  • 24. Making WordPress Faster FRONT-END PERFORMANCE TIPS 02 Let’s make it faster. • Standard WordPress Installation Saturday, June 5, 2010
  • 25. Making WordPress Faster FRONT-END PERFORMANCE TIPS Standard WordPress Installation • WordPress • ChocoTheme • Plugins • Lightbox 2 • Google Analyticator 02 Let’s make it faster. Saturday, June 5, 2010
  • 26. Making WordPress Faster FRONT-END PERFORMANCE TIPS 02 Let’s make it faster. • Standard WordPress Installation Saturday, June 5, 2010
  • 27. Making WordPress Faster FRONT-END PERFORMANCE TIPS 02 Let’s make it faster. • Standard WordPress Installation • Statistics before performance tuning Saturday, June 5, 2010
  • 28. Making WordPress Faster FRONT-END PERFORMANCE TIPS Statistics before performance tuning • Page Load: 2.3s • Page Weight: • 183KB (empty) • 4KB (primed) • # of file requests: 36 • % HTML: 22% 02 Let’s make it faster. Saturday, June 5, 2010
  • 29. Making WordPress Faster FRONT-END PERFORMANCE TIPS Statistics before performance tuning • YSlow: D (67) • 9 JavaScript files • All in the <head> • 3 CSS files • 19 background images • 34 files w/o far-future expires • 33 files w/ misconfigured ETags 02 Let’s make it faster Saturday, June 5, 2010
  • 30. Making WordPress Faster FRONT-END PERFORMANCE TIPS 02 Let’s make it faster. • Standard WordPress Installation • Statistics before performance tuning Saturday, June 5, 2010
  • 31. Making WordPress Faster FRONT-END PERFORMANCE TIPS 02 Let’s make it faster. • Standard WordPress Installation • Statistics before performance tuning • 3 Basic Concepts: Saturday, June 5, 2010
  • 32. Making WordPress Faster FRONT-END PERFORMANCE TIPS 02 Let’s make it faster. • Standard WordPress Installation • Statistics before performance tuning • 3 Basic Concepts: 01 — Make fewer file requests Saturday, June 5, 2010
  • 33. Making WordPress Faster FRONT-END PERFORMANCE TIPS 01 — Make fewer file requests Make sure your plugins are using one JavaScript Framework 02 Let’s make it faster. Saturday, June 5, 2010
  • 34. Making WordPress Faster FRONT-END PERFORMANCE TIPS 01 — Make fewer file requests CSS Sprites 02 Let’s make it faster. Saturday, June 5, 2010
  • 35. Making WordPress Faster FRONT-END PERFORMANCE TIPS 01 — Make fewer file requests SpriteMe.org 02 Let’s make it faster. Saturday, June 5, 2010
  • 36. Making WordPress Faster FRONT-END PERFORMANCE TIPS 01 — Make fewer file requests PHP minify http://code.google.com/p/minify/ 02 Let’s make it faster. Saturday, June 5, 2010
  • 37. Making WordPress Faster FRONT-END PERFORMANCE TIPS 02 Let’s make it faster. • Standard WordPress Installation • Statistics before performance tuning • 3 Basic Concepts: 01 — Make fewer file requests Saturday, June 5, 2010
  • 38. Making WordPress Faster FRONT-END PERFORMANCE TIPS 02 Let’s make it faster. • Standard WordPress Installation • Statistics before performance tuning • 3 Basic Concepts: 01 — Make fewer file requests 02 — Download files concurrently Saturday, June 5, 2010
  • 39. Making WordPress Faster FRONT-END PERFORMANCE TIPS 02 — Download files concurrently CSS at the top, JS at the bottom 02 Let’s make it faster. Saturday, June 5, 2010
  • 40. Making WordPress Faster FRONT-END PERFORMANCE TIPS 02 — Download files concurrently 02 Let’s make it faster. Saturday, June 5, 2010
  • 41. Making WordPress Faster FRONT-END PERFORMANCE TIPS 02 — Download files concurrently JavaScript to Footer Plugin 02 Let’s make it faster. Saturday, June 5, 2010
  • 42. Making WordPress Faster FRONT-END PERFORMANCE TIPS 02 — Download files concurrently Google Analytics for WP Plugin 02 Let’s make it faster. Saturday, June 5, 2010
  • 43. Making WordPress Faster FRONT-END PERFORMANCE TIPS 02 — Download files concurrently CDN: Google-hosted jQuery 02 Let’s make it faster. Saturday, June 5, 2010
  • 44. Making WordPress Faster FRONT-END PERFORMANCE TIPS 02 Let’s make it faster. • Standard WordPress Installation • Statistics before performance tuning • 3 Basic Concepts: 01 — Make fewer file requests 02 — Download files concurrently Saturday, June 5, 2010
  • 45. Making WordPress Faster FRONT-END PERFORMANCE TIPS 02 Let’s make it faster. • Standard WordPress Installation • Statistics before performance tuning • 3 Basic Concepts: 01 — Make fewer file requests 02 — Download files concurrently 03 — Far-future cache expiration Saturday, June 5, 2010
  • 46. Making WordPress Faster FRONT-END PERFORMANCE TIPS 03 — Far-future cache expiration Simple changes to .htaccess 02 Let’s make it faster. Saturday, June 5, 2010
  • 47. Making WordPress Faster FRONT-END PERFORMANCE TIPS 02 Let’s make it faster. • Standard WordPress Installation • Statistics before performance tuning • 3 Basic Concepts: 01 — Make fewer file requests 02 — Download files concurrently 03 — Far-future cache expiration Saturday, June 5, 2010
  • 48. Making WordPress Faster FRONT-END PERFORMANCE TIPS 02 Let’s make it faster. • Standard WordPress Installation • Statistics before performance tuning • 3 Basic Concepts: 01 — Make fewer file requests 02 — Download files concurrently 03 — Far-future cache expiration • Statistics after performance tuning Saturday, June 5, 2010
  • 49. Making WordPress Faster FRONT-END PERFORMANCE TIPS Statistics after performance tuning 02 Let’s make it faster. Saturday, June 5, 2010
  • 50. Making WordPress Faster FRONT-END PERFORMANCE TIPS Statistics after performance tuning •YSlow 02 Let’s make it faster. Saturday, June 5, 2010
  • 51. Making WordPress Faster FRONT-END PERFORMANCE TIPS Statistics after performance tuning •YSlow • Before: D (67) 02 Let’s make it faster. Saturday, June 5, 2010
  • 52. Making WordPress Faster FRONT-END PERFORMANCE TIPS Statistics after performance tuning •YSlow • Before: D (67) • After: B (86) 02 Let’s make it faster. Saturday, June 5, 2010
  • 53. Making WordPress Faster FRONT-END PERFORMANCE TIPS Statistics after performance tuning •YSlow • Before: D (67) • After: B (86) • # of File Requests 02 Let’s make it faster. Saturday, June 5, 2010
  • 54. Making WordPress Faster FRONT-END PERFORMANCE TIPS Statistics after performance tuning •YSlow • Before: D (67) • After: B (86) • # of File Requests • Before: 36 02 Let’s make it faster. Saturday, June 5, 2010
  • 55. Making WordPress Faster FRONT-END PERFORMANCE TIPS Statistics after performance tuning •YSlow • Before: D (67) • After: B (86) • # of File Requests • Before: 36 • After: 17 02 Let’s make it faster. Saturday, June 5, 2010
  • 56. Making WordPress Faster FRONT-END PERFORMANCE TIPS Statistics after performance tuning •YSlow • Before: D (67) • After: B (86) • # of File Requests • Before: 36 • After: 17 • Page Load Time 02 Let’s make it faster. Saturday, June 5, 2010
  • 57. Making WordPress Faster FRONT-END PERFORMANCE TIPS Statistics after performance tuning •YSlow • Before: D (67) • After: B (86) • # of File Requests • Before: 36 • After: 17 • Page Load Time • Before: 2.3s 02 Let’s make it faster. Saturday, June 5, 2010
  • 58. Making WordPress Faster FRONT-END PERFORMANCE TIPS Statistics after performance tuning •YSlow • Before: D (67) • After: B (86) • # of File Requests • Before: 36 • After: 17 • Page Load Time • Before: 2.3s • After: 1.3s 02 Let’s make it faster. Saturday, June 5, 2010
  • 59. Making WordPress Faster FRONT-END PERFORMANCE TIPS 03 Recap and questions Saturday, June 5, 2010
  • 60. Making WordPress Faster FRONT-END PERFORMANCE TIPS 03 Recap and questions Saturday, June 5, 2010
  • 61. Making WordPress Faster FRONT-END PERFORMANCE TIPS 03 Recap and questions 01 — Make fewer file requests Saturday, June 5, 2010
  • 62. Making WordPress Faster FRONT-END PERFORMANCE TIPS 03 Recap and questions 01 — Make fewer file requests • One JavaScript framework Saturday, June 5, 2010
  • 63. Making WordPress Faster FRONT-END PERFORMANCE TIPS 03 Recap and questions 01 — Make fewer file requests • One JavaScript framework • CSS Sprites (SpriteMe.org) Saturday, June 5, 2010
  • 64. Making WordPress Faster FRONT-END PERFORMANCE TIPS 03 Recap and questions 01 — Make fewer file requests • One JavaScript framework • CSS Sprites (SpriteMe.org) • PHP Minify Saturday, June 5, 2010
  • 65. Making WordPress Faster FRONT-END PERFORMANCE TIPS 03 Recap and questions 01 — Make fewer file requests • One JavaScript framework • CSS Sprites (SpriteMe.org) • PHP Minify 02 — Download files concurrently Saturday, June 5, 2010
  • 66. Making WordPress Faster FRONT-END PERFORMANCE TIPS 03 Recap and questions 01 — Make fewer file requests • One JavaScript framework • CSS Sprites (SpriteMe.org) • PHP Minify 02 — Download files concurrently • CSS at the top, JavaScript at the bottom Saturday, June 5, 2010
  • 67. Making WordPress Faster FRONT-END PERFORMANCE TIPS 03 Recap and questions 01 — Make fewer file requests • One JavaScript framework • CSS Sprites (SpriteMe.org) • PHP Minify 02 — Download files concurrently • CSS at the top, JavaScript at the bottom • CDN: Google-hosted jQuery Saturday, June 5, 2010
  • 68. Making WordPress Faster FRONT-END PERFORMANCE TIPS 03 Recap and questions 01 — Make fewer file requests • One JavaScript framework • CSS Sprites (SpriteMe.org) • PHP Minify 02 — Download files concurrently • CSS at the top, JavaScript at the bottom • CDN: Google-hosted jQuery 03 — Far-future cache expiration Saturday, June 5, 2010
  • 69. Making WordPress Faster FRONT-END PERFORMANCE TIPS 03 Recap and questions 01 — Make fewer file requests • One JavaScript framework • CSS Sprites (SpriteMe.org) • PHP Minify 02 — Download files concurrently • CSS at the top, JavaScript at the bottom • CDN: Google-hosted jQuery 03 — Far-future cache expiration • ETag and mod_expires directives for .htaccess Saturday, June 5, 2010
  • 70. Making WordPress Faster FRONT-END PERFORMANCE TIPS Thank you. SCOTT ROBBIN Twitter: @srobbin E-mail: scott@weightshift.com Web: srobbin.com Saturday, June 5, 2010