SlideShare a Scribd company logo
1 of 39
What the hell is this? what is performance and who cares? what’s dragging you down? is WordPress slow? what can I do on the front end? what are some plugins I can install that will make my life easier without having to really pay attention to you?
Questions?
Performance = Perceived Speed V
The Two Sides of the Website Coin back end front end (client side) (server side)
The Weight of the Front End 80% 20%
Who Cares?
The Landscape by 2015 Quadruple Traffic Globally Devices: Desktop: 25% Laptop: 83% Smartphone: 194% EB Reader: 550% Tablet: 750%
What’s Dragging You Down?
network reliability file sizes HTTP requests server configuration WordPress itself Balls, Chains, Anchors, Speed Bumps
Network Factors space between mobile towers visitor’s data plan quality of connection random acts of God a billion other things
File Size
HTTP Requests
Server Configuration
Balls, Chains, Anchors, Speed Bumps network reliability file sizes HTTP requests server configuration WordPress itself
Is wordpress slow?
It’s Only as Fast as your theme.
0 JS files(0k) 1 CSS files(23k) 2 images(53k) 0 iframes(0k) 80k+ download ~5 requests
11 JS files(191k) 3 CSS files(43k) 6 images(179k) 2 iframes(16k) 500k+ download 20+ requests
23 JS files(1243k) 6 CSS files(92k) 70 images(549k) 3 iframes(123k) 2000k+ download 100+ requests
What can I do on the front end?
HTML HTML5 is your friend more semantic tag use, less div soup; default WP does NOT do this avoid the hidden calories of iframes strip white space
CSS kill unnecessary rules shorthand combine minify
JavaScript if you load a library, load it from Google APIs(75% less load impact) native JS is faster(select element by ID through jQuery = 86% slower than native) combine minify load at the bottom
Images CSS3 is your friend image sprites CRUSH THEM
How CSS is More Efficient Traditional: 2 images Extra markup ~ 5-6k, extra requests div { height: 300px; width: 300px; border: 2px solid #0c9da9; box-shadow: 0 5px 10px rgba(0,0,0,.4), inset 0 0 0 2px rgba(255,255,255,.7); border-radius: 10px; background: #daf0ff; background: -moz-linear-gradient(top, #daf0ff 0%, #99cfff 100%); background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#daf0ff), color-stop(100%,#99cfff)); background: -webkit-linear-gradient(top, #daf0ff 0%,#99cfff 100%); background: -o-linear-gradient(top, #daf0ff 0%,#99cfff 100%); background: -ms-linear-gradient(top, #daf0ff 0%,#99cfff 100%); filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#daf0ff', endColorstr='#99cfff',GradientType=0 ); background: linear-gradient(top, #daf0ff 0%,#99cfff 100%); } CSS: No images No extra markup 740 bytes, no requests
Image Sprites Individually: 20 images = 17k 20 requests Sprite: 1 image = 4.2k 1 request
Bonus Round content delivery network (CDN) use your own subdomain (crap.acme.com) gzip compression more: HTML5 boilerplate
What Plugins AreWorth a Shit?
There Are a Few WP Smush.it(automatic image compression) W3 Total Cache(complete server optimization, requires access to .htaccess) WP Minify(automatically minify JS and CSS) WP-HTML-Compression(strip white space from HTML) CDN Tools(helps set up a CDN i.e. Google API or MaxCDN)
How Can I Test?
Great Question.
It’s Easy. Really. Plugin: Debug Queries(discover where your site is slowing down) Websites and Tools: Pingdom Tools Web Page Analyzer Google Page Speed Yahoo! YSlow (firefoxplugin for Firebug) Yahoo! Boomerang Jdrop(mobile performance testing)
Thank You.Really.
@kevinpotts graphicpush.com/wp-performance

More Related Content

What's hot (7)

Petar Nikolow - OA Conf 2021
Petar Nikolow - OA Conf 2021Petar Nikolow - OA Conf 2021
Petar Nikolow - OA Conf 2021
 
Ian Selby: Server Side JS (SF JS #3)
Ian Selby: Server Side JS (SF JS #3)Ian Selby: Server Side JS (SF JS #3)
Ian Selby: Server Side JS (SF JS #3)
 
CSS 3
CSS 3CSS 3
CSS 3
 
High Performance Images in WordPress
High Performance Images in WordPressHigh Performance Images in WordPress
High Performance Images in WordPress
 
Key Value Storage Systems ... and Beyond ... with Python
Key Value Storage Systems ... and Beyond ... with PythonKey Value Storage Systems ... and Beyond ... with Python
Key Value Storage Systems ... and Beyond ... with Python
 
Adobe MAX 2008: HTML/CSS + Fireworks
Adobe MAX 2008: HTML/CSS + FireworksAdobe MAX 2008: HTML/CSS + Fireworks
Adobe MAX 2008: HTML/CSS + Fireworks
 
Optimizing Your Site
Optimizing Your SiteOptimizing Your Site
Optimizing Your Site
 

Similar to Kansas City WordCamp - Website Performance

Raiders of the Fast Start: Frontend Performance Archaeology PerfmattersConf 2018
Raiders of the Fast Start: Frontend Performance Archaeology PerfmattersConf 2018Raiders of the Fast Start: Frontend Performance Archaeology PerfmattersConf 2018
Raiders of the Fast Start: Frontend Performance Archaeology PerfmattersConf 2018
Katie Sylor-Miller
 
Introduction to-web-application-development-with-vaadin7
Introduction to-web-application-development-with-vaadin7Introduction to-web-application-development-with-vaadin7
Introduction to-web-application-development-with-vaadin7
Johannes Eriksson
 
Sass, Compass and the new tools - Open Web Camp IV
Sass, Compass and the new tools - Open Web Camp IVSass, Compass and the new tools - Open Web Camp IV
Sass, Compass and the new tools - Open Web Camp IV
Dirk Ginader
 

Similar to Kansas City WordCamp - Website Performance (20)

RIAs
RIAsRIAs
RIAs
 
Css3
Css3Css3
Css3
 
Ease into HTML5 and CSS3
Ease into HTML5 and CSS3Ease into HTML5 and CSS3
Ease into HTML5 and CSS3
 
CSS3: Are you experienced?
CSS3: Are you experienced?CSS3: Are you experienced?
CSS3: Are you experienced?
 
The Graceful Degradation of CSS3
The Graceful Degradation of CSS3The Graceful Degradation of CSS3
The Graceful Degradation of CSS3
 
Practical tipsmakemobilefaster oscon2016
Practical tipsmakemobilefaster oscon2016Practical tipsmakemobilefaster oscon2016
Practical tipsmakemobilefaster oscon2016
 
About Best friends - HTML, CSS and JS
About Best friends - HTML, CSS and JSAbout Best friends - HTML, CSS and JS
About Best friends - HTML, CSS and JS
 
Learn to love CSS3 | Joomla! Day Deutschland
Learn to love CSS3 | Joomla! Day DeutschlandLearn to love CSS3 | Joomla! Day Deutschland
Learn to love CSS3 | Joomla! Day Deutschland
 
Responsive Web Design e a Ubiquidade da Web
Responsive Web Design e a Ubiquidade da WebResponsive Web Design e a Ubiquidade da Web
Responsive Web Design e a Ubiquidade da Web
 
Eye Candy Without Images: Fun With CSS3
Eye Candy Without Images: Fun With CSS3Eye Candy Without Images: Fun With CSS3
Eye Candy Without Images: Fun With CSS3
 
Minimalism in Web Development
Minimalism in Web DevelopmentMinimalism in Web Development
Minimalism in Web Development
 
Real-world CSS3
Real-world CSS3Real-world CSS3
Real-world CSS3
 
Raiders of the Fast Start: Frontend Performance Archaeology PerfmattersConf 2018
Raiders of the Fast Start: Frontend Performance Archaeology PerfmattersConf 2018Raiders of the Fast Start: Frontend Performance Archaeology PerfmattersConf 2018
Raiders of the Fast Start: Frontend Performance Archaeology PerfmattersConf 2018
 
Introduction to-web-application-development-with-vaadin7
Introduction to-web-application-development-with-vaadin7Introduction to-web-application-development-with-vaadin7
Introduction to-web-application-development-with-vaadin7
 
C5 Instances and the Evolution of Amazon EC2 Virtualization - CMP332 - re:Inv...
C5 Instances and the Evolution of Amazon EC2 Virtualization - CMP332 - re:Inv...C5 Instances and the Evolution of Amazon EC2 Virtualization - CMP332 - re:Inv...
C5 Instances and the Evolution of Amazon EC2 Virtualization - CMP332 - re:Inv...
 
Sass, Compass and the new tools - Open Web Camp IV
Sass, Compass and the new tools - Open Web Camp IVSass, Compass and the new tools - Open Web Camp IV
Sass, Compass and the new tools - Open Web Camp IV
 
Web Development for Mobile: GTUG Talk at Google
Web Development for Mobile: GTUG Talk at GoogleWeb Development for Mobile: GTUG Talk at Google
Web Development for Mobile: GTUG Talk at Google
 
Learn to Love CSS3 [English]
Learn to Love CSS3 [English]Learn to Love CSS3 [English]
Learn to Love CSS3 [English]
 
Faster Frontends
Faster FrontendsFaster Frontends
Faster Frontends
 
Progressive Enhancement 2.0 (Conference Agnostic)
Progressive Enhancement 2.0 (Conference Agnostic)Progressive Enhancement 2.0 (Conference Agnostic)
Progressive Enhancement 2.0 (Conference Agnostic)
 

Recently uploaded

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@
 
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
 

Recently uploaded (20)

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
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
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...
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
"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 ...
 
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
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
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, ...
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
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
 
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
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
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
 
+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
 
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
 
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
 

Kansas City WordCamp - Website Performance

  • 1.
  • 2. What the hell is this? what is performance and who cares? what’s dragging you down? is WordPress slow? what can I do on the front end? what are some plugins I can install that will make my life easier without having to really pay attention to you?
  • 5. The Two Sides of the Website Coin back end front end (client side) (server side)
  • 6. The Weight of the Front End 80% 20%
  • 8.
  • 9.
  • 10.
  • 11.
  • 12. The Landscape by 2015 Quadruple Traffic Globally Devices: Desktop: 25% Laptop: 83% Smartphone: 194% EB Reader: 550% Tablet: 750%
  • 14. network reliability file sizes HTTP requests server configuration WordPress itself Balls, Chains, Anchors, Speed Bumps
  • 15. Network Factors space between mobile towers visitor’s data plan quality of connection random acts of God a billion other things
  • 19. Balls, Chains, Anchors, Speed Bumps network reliability file sizes HTTP requests server configuration WordPress itself
  • 21. It’s Only as Fast as your theme.
  • 22. 0 JS files(0k) 1 CSS files(23k) 2 images(53k) 0 iframes(0k) 80k+ download ~5 requests
  • 23. 11 JS files(191k) 3 CSS files(43k) 6 images(179k) 2 iframes(16k) 500k+ download 20+ requests
  • 24. 23 JS files(1243k) 6 CSS files(92k) 70 images(549k) 3 iframes(123k) 2000k+ download 100+ requests
  • 25. What can I do on the front end?
  • 26. HTML HTML5 is your friend more semantic tag use, less div soup; default WP does NOT do this avoid the hidden calories of iframes strip white space
  • 27. CSS kill unnecessary rules shorthand combine minify
  • 28. JavaScript if you load a library, load it from Google APIs(75% less load impact) native JS is faster(select element by ID through jQuery = 86% slower than native) combine minify load at the bottom
  • 29. Images CSS3 is your friend image sprites CRUSH THEM
  • 30. How CSS is More Efficient Traditional: 2 images Extra markup ~ 5-6k, extra requests div { height: 300px; width: 300px; border: 2px solid #0c9da9; box-shadow: 0 5px 10px rgba(0,0,0,.4), inset 0 0 0 2px rgba(255,255,255,.7); border-radius: 10px; background: #daf0ff; background: -moz-linear-gradient(top, #daf0ff 0%, #99cfff 100%); background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#daf0ff), color-stop(100%,#99cfff)); background: -webkit-linear-gradient(top, #daf0ff 0%,#99cfff 100%); background: -o-linear-gradient(top, #daf0ff 0%,#99cfff 100%); background: -ms-linear-gradient(top, #daf0ff 0%,#99cfff 100%); filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#daf0ff', endColorstr='#99cfff',GradientType=0 ); background: linear-gradient(top, #daf0ff 0%,#99cfff 100%); } CSS: No images No extra markup 740 bytes, no requests
  • 31. Image Sprites Individually: 20 images = 17k 20 requests Sprite: 1 image = 4.2k 1 request
  • 32. Bonus Round content delivery network (CDN) use your own subdomain (crap.acme.com) gzip compression more: HTML5 boilerplate
  • 34. There Are a Few WP Smush.it(automatic image compression) W3 Total Cache(complete server optimization, requires access to .htaccess) WP Minify(automatically minify JS and CSS) WP-HTML-Compression(strip white space from HTML) CDN Tools(helps set up a CDN i.e. Google API or MaxCDN)
  • 35. How Can I Test?
  • 37. It’s Easy. Really. Plugin: Debug Queries(discover where your site is slowing down) Websites and Tools: Pingdom Tools Web Page Analyzer Google Page Speed Yahoo! YSlow (firefoxplugin for Firebug) Yahoo! Boomerang Jdrop(mobile performance testing)