SlideShare a Scribd company logo
1 of 45
© 2015 Eighty & Eight dba dustina LLC. Creative Commons
Attribution 4.0 License.
Site Speed 101:
How to Get Your Site to Load in 1 Second or Less
© 2015 Eighty & Eight dba dustina LLC. Creative Commons
Attribution 4.0 License.
© 2015 Eighty & Eight dba dustina LLC. Creative Commons
Attribution 4.0 License.
Average Site Speed
6.7 seconds on desktop
10.2 seconds on mobile
© 2015 Eighty & Eight dba dustina LLC. Creative Commons
Attribution 4.0 License.
* source
Google Recommends:
1 second on all devices….
© 2015 Eighty & Eight dba dustina LLC. Creative Commons
Attribution 4.0 License.
© 2015 Eighty & Eight dba dustina LLC. Creative Commons
Attribution 4.0 License.
While [Google] noted at the time that...a small percentage of sites
would see a significant change in ranking or traffic due to page speed
factors, I find it likely that the emphasis will increase over time….
...Having given webmasters fair notice...it’s reasonable to expect them
to phase in greater emphasis until they feel that most of their top
results deliver a high level of performance.
- Roger Dooley ….
© 2015 Eighty & Eight dba dustina LLC. Creative Commons
Attribution 4.0 License.
“
© 2015 Eighty & Eight dba dustina LLC. Creative Commons
Attribution 4.0 License.
Site Speed Boosts Conversion
• Amazon saw 1% drop for every 100
ms increase in load time
• For Walmart, conversions doubled
from 3 second load time to 1
second
• Google saw 20% decrease in search
traffic with ½ second increase in
load time
• Shopzilla saw 12% increase in
conversions between faster and
slower pages
• Mozilla saw 15.4% increase in
Firefox downloads in an A/B test
with speed as the only variant
• Microsoft saw .7% increase in
traffic after enabling progressive
rendering on Bing search pages
© 2015 Eighty & Eight dba dustina LLC. Creative Commons
Attribution 4.0 License.
© 2015 Eighty & Eight dba dustina LLC. Creative Commons
Attribution 4.0 License.
In Summary:
• Site speed is crucial to
• Search rankings
• User experience (branding)
• Conversion
All of these reasons mean money. Convinced?
© 2015 Eighty & Eight dba dustina LLC. Creative Commons
Attribution 4.0 License.
© 2015 Eighty & Eight dba dustina LLC. Creative Commons
Attribution 4.0 License.
Let’s get started
© 2015 Eighty & Eight dba dustina LLC. Creative Commons
Attribution 4.0 License.
1. Take your web hosting seriously
• Avoid shared hosting
• Nginx outperforms Apache
• Hosts running newer versions of PHP are faster (5.6!)
• Use a dedicated host for your CMS
• Most dedicated hosts have built-in redundancies for traffic spikes,
CDN and caching
• VPS
• Use a CDN
© 2015 Eighty & Eight dba dustina LLC. Creative Commons
Attribution 4.0 License.
I JUST CANNAE DO IT!
I DINNAE HAVE THE POWER!
© 2015 Eighty & Eight dba dustina LLC. Creative Commons
Attribution 4.0 License.
• Your configuration depends on your CMS and requirements
• Consult a qualified system administrator
• Consider Nginx
• Use PHP-FPM (and FastCGI if using Apache)
• Make sure you have server caching setup
• Many WordPress caching plugins can actually slow down
your site
• Enable gzip compression (talk to your web host)
2. Optimize your server
© 2015 Eighty & Eight dba dustina LLC. Creative Commons
Attribution 4.0 License.
© 2015 Eighty & Eight dba dustina LLC. Creative Commons
Attribution 4.0 License.
3. Image Compression
• Proper file type
• Minimize use of .gif
• Use “Save for Web” in Photoshop, Illustrator, or the “Save for Web”
extension for GIMP
• Other tools can help improve image compression
© 2015 Eighty & Eight dba dustina LLC. Creative Commons
Attribution 4.0 License.
Some Automatic Compression Tools
• TinyPng
• Compressnow
• Compressor.io
• JPEG-Optimizer
• Image Optimizer
© 2015 Eighty & Eight dba dustina LLC. Creative Commons
Attribution 4.0 License.
If you’re adventurous…
• jpegtran
• gifsicle
• optipng
• pngquant
• webp
© 2015 Eighty & Eight dba dustina LLC. Creative Commons
Attribution 4.0 License.
© 2015 Eighty & Eight dba dustina LLC. Creative Commons
Attribution 4.0 License.
Truly Automatic Compression Tools
• WP Smushit
• EWWW Image Optimizer
• Kraken.io
© 2015 Eighty & Eight dba dustina LLC. Creative Commons
Attribution 4.0 License.
The Best Image Compression Option:
• Manual compression in Photoshop, Illustrator, or GIMP
© 2015 Eighty & Eight dba dustina LLC. Creative Commons
Attribution 4.0 License.
What’s the difference?
• 15-30% average file size savings with automated tools
• Usually 50-80% savings with manual tools
• That could mean SECONDS off your load time
© 2015 Eighty & Eight dba dustina LLC. Creative Commons
Attribution 4.0 License.
3.1 MB
© 2015 Eighty & Eight dba dustina LLC. Creative Commons
Attribution 4.0 License.
182 KB
© 2015 Eighty & Eight dba dustina LLC. Creative Commons
Attribution 4.0 License.
Results?
• Original load time was 10-17 seconds on average
• After optimizations, 600 milliseconds on average
© 2015 Eighty & Eight dba dustina LLC. Creative Commons
Attribution 4.0 License.
© 2015 Eighty & Eight dba dustina LLC. Creative Commons
Attribution 4.0 License.
4. Optimize WordPress
• Eliminate unnecessary plugins
• If ecommerce or a large site generally, consider a separate
database, or a database server
• Optimize your database
• Remove unused files, pages, drafts, etc.
• Use light themes and/or separate mobile theme
• Understand what your JavaScript is doing
© 2015 Eighty & Eight dba dustina LLC. Creative Commons
Attribution 4.0 License.
How well optimized is LingsCars.com?
© 2015 Eighty & Eight dba dustina LLC. Creative Commons
Attribution 4.0 License.
5. Combine AND
Minify all the code
• Javascript
• CSS
• HTML
© 2015 Eighty & Eight dba dustina LLC. Creative Commons
Attribution 4.0 License.
6. Remove query strings from *static*
resources
© 2015 Eighty & Eight dba dustina LLC. Creative Commons
Attribution 4.0 License.
7. Cache & CDN
• Server cache
• Object cache
• Memcache
• Leverage user’s browser cache
© 2015 Eighty & Eight dba dustina LLC. Creative Commons
Attribution 4.0 License.
I DO NOT SUPPOSE YOU
COULD SPEED THINGS UP?!© 2015 Eighty & Eight dba dustina LLC. Creative Commons
Attribution 4.0 License.
8. Minimize slow or heavy scripts & plugins
• Avoid Flash and Silverlight at all costs
• Minimize reliance on Javascript
© 2015 Eighty & Eight dba dustina LLC. Creative Commons
Attribution 4.0 License.
I THOUGHT YOU SAID THIS SHIP WAS FAST?!
9. Minimize use of external content
• Embedded external content
• Videos
• Social feeds
• Ads
• Google Fonts (not all created equal)
• Install fonts locally if possible
• NEVER use image files loading from another site (hotlinking), and
block others from doing the same from your site
© 2015 Eighty & Eight dba dustina LLC. Creative Commons
Attribution 4.0 License.
Don’t turn your
site visitors into
this guy
© 2015 Eighty & Eight dba dustina LLC. Creative Commons
Attribution 4.0 License.
10. Optimize how the page renders (DOM)
• CSS in the header
• Javascript in the footer
• If your site has a lot of images, use Lazy Load (JS)
• Make sure Javascript loads asynchronously
© 2015 Eighty & Eight dba dustina LLC. Creative Commons
Attribution 4.0 License.
© 2015 Eighty & Eight dba dustina LLC. Creative Commons
Attribution 4.0 License.
© 2015 Eighty & Eight dba dustina LLC. Creative Commons
Attribution 4.0 License.
© 2015 Eighty & Eight dba dustina LLC. Creative Commons
Attribution 4.0 License.
Questions?
© 2015 Eighty & Eight dba dustina LLC. Creative Commons
Attribution 4.0 License.
Feel Free to Ask Questions Later Too
Slides: dnay.co/DeckDMC15
Tons of Resources: dnay.co/DMC15
dustin@eightyandeight.com
@dustinnay
© 2015 Eighty & Eight dba dustina LLC. Creative Commons
Attribution 4.0 License.

More Related Content

What's hot

WordPress Hosting Basics
WordPress Hosting BasicsWordPress Hosting Basics
WordPress Hosting BasicsChris Burgess
 
10 Cool Things You Can Do with Widgets
10 Cool Things You Can Do with Widgets10 Cool Things You Can Do with Widgets
10 Cool Things You Can Do with Widgetsdrywallbmb
 
Building the next generation of themes with WP Rig 2.0
Building the next generation of themes with WP Rig 2.0Building the next generation of themes with WP Rig 2.0
Building the next generation of themes with WP Rig 2.0Morten Rand-Hendriksen
 
WordPress Theme Performance - WP Vienna meetup 8.6.2016
WordPress Theme Performance - WP Vienna meetup 8.6.2016WordPress Theme Performance - WP Vienna meetup 8.6.2016
WordPress Theme Performance - WP Vienna meetup 8.6.2016jancbeck
 
soft-shake.ch - WebMatrix: Your Web Made Easy
soft-shake.ch - WebMatrix: Your Web Made Easysoft-shake.ch - WebMatrix: Your Web Made Easy
soft-shake.ch - WebMatrix: Your Web Made Easysoft-shake.ch
 
Kawwa, a Markup Pattern Library
Kawwa, a Markup Pattern LibraryKawwa, a Markup Pattern Library
Kawwa, a Markup Pattern LibraryAngela Ricci
 
So What is This Thing Called WordPress?
So What is This Thing Called WordPress?So What is This Thing Called WordPress?
So What is This Thing Called WordPress?Graham Armfield
 
WebHosting Performance / WordPress - Pubcon Vegas - Hendison
WebHosting Performance / WordPress  - Pubcon Vegas - HendisonWebHosting Performance / WordPress  - Pubcon Vegas - Hendison
WebHosting Performance / WordPress - Pubcon Vegas - HendisonSearch Commander, Inc.
 
WordPress Resources Nov 2014
WordPress Resources Nov 2014WordPress Resources Nov 2014
WordPress Resources Nov 2014Judy Wilson
 
Introduction to WordPress
Introduction to WordPressIntroduction to WordPress
Introduction to WordPressCraig Bailey
 
14 Things You Must Do Before Launching a Website
14 Things You Must Do Before Launching a Website14 Things You Must Do Before Launching a Website
14 Things You Must Do Before Launching a WebsiteZero Point Development
 
Managing Multisite: Lessons from a Large Network
Managing Multisite: Lessons from a Large NetworkManaging Multisite: Lessons from a Large Network
Managing Multisite: Lessons from a Large NetworkWilliam Earnhardt
 
CodeIgniter for Startups, cicon2010
CodeIgniter for Startups, cicon2010CodeIgniter for Startups, cicon2010
CodeIgniter for Startups, cicon2010Joel Gascoigne
 
Exploring WordPress Multisite
Exploring WordPress MultisiteExploring WordPress Multisite
Exploring WordPress MultisiteLisa Sabin-Wilson
 
Piecing Together the WordPress Puzzle
Piecing Together the WordPress PuzzlePiecing Together the WordPress Puzzle
Piecing Together the WordPress PuzzleBusiness Vitality LLC
 
USG Rock Eagle 2017 - PWP at 1000 Days
USG Rock Eagle 2017 - PWP at 1000 DaysUSG Rock Eagle 2017 - PWP at 1000 Days
USG Rock Eagle 2017 - PWP at 1000 DaysEric Sembrat
 
Building Drupal 8 Sites
Building Drupal 8 SitesBuilding Drupal 8 Sites
Building Drupal 8 SitesExove
 

What's hot (20)

How to Build Custom WordPress Blocks
How to Build Custom WordPress BlocksHow to Build Custom WordPress Blocks
How to Build Custom WordPress Blocks
 
WordPress Hosting Basics
WordPress Hosting BasicsWordPress Hosting Basics
WordPress Hosting Basics
 
10 Cool Things You Can Do with Widgets
10 Cool Things You Can Do with Widgets10 Cool Things You Can Do with Widgets
10 Cool Things You Can Do with Widgets
 
SPDY
SPDYSPDY
SPDY
 
Ecomm 101
Ecomm 101Ecomm 101
Ecomm 101
 
Building the next generation of themes with WP Rig 2.0
Building the next generation of themes with WP Rig 2.0Building the next generation of themes with WP Rig 2.0
Building the next generation of themes with WP Rig 2.0
 
WordPress Theme Performance - WP Vienna meetup 8.6.2016
WordPress Theme Performance - WP Vienna meetup 8.6.2016WordPress Theme Performance - WP Vienna meetup 8.6.2016
WordPress Theme Performance - WP Vienna meetup 8.6.2016
 
soft-shake.ch - WebMatrix: Your Web Made Easy
soft-shake.ch - WebMatrix: Your Web Made Easysoft-shake.ch - WebMatrix: Your Web Made Easy
soft-shake.ch - WebMatrix: Your Web Made Easy
 
Kawwa, a Markup Pattern Library
Kawwa, a Markup Pattern LibraryKawwa, a Markup Pattern Library
Kawwa, a Markup Pattern Library
 
So What is This Thing Called WordPress?
So What is This Thing Called WordPress?So What is This Thing Called WordPress?
So What is This Thing Called WordPress?
 
WebHosting Performance / WordPress - Pubcon Vegas - Hendison
WebHosting Performance / WordPress  - Pubcon Vegas - HendisonWebHosting Performance / WordPress  - Pubcon Vegas - Hendison
WebHosting Performance / WordPress - Pubcon Vegas - Hendison
 
WordPress Resources Nov 2014
WordPress Resources Nov 2014WordPress Resources Nov 2014
WordPress Resources Nov 2014
 
Introduction to WordPress
Introduction to WordPressIntroduction to WordPress
Introduction to WordPress
 
14 Things You Must Do Before Launching a Website
14 Things You Must Do Before Launching a Website14 Things You Must Do Before Launching a Website
14 Things You Must Do Before Launching a Website
 
Managing Multisite: Lessons from a Large Network
Managing Multisite: Lessons from a Large NetworkManaging Multisite: Lessons from a Large Network
Managing Multisite: Lessons from a Large Network
 
CodeIgniter for Startups, cicon2010
CodeIgniter for Startups, cicon2010CodeIgniter for Startups, cicon2010
CodeIgniter for Startups, cicon2010
 
Exploring WordPress Multisite
Exploring WordPress MultisiteExploring WordPress Multisite
Exploring WordPress Multisite
 
Piecing Together the WordPress Puzzle
Piecing Together the WordPress PuzzlePiecing Together the WordPress Puzzle
Piecing Together the WordPress Puzzle
 
USG Rock Eagle 2017 - PWP at 1000 Days
USG Rock Eagle 2017 - PWP at 1000 DaysUSG Rock Eagle 2017 - PWP at 1000 Days
USG Rock Eagle 2017 - PWP at 1000 Days
 
Building Drupal 8 Sites
Building Drupal 8 SitesBuilding Drupal 8 Sites
Building Drupal 8 Sites
 

Viewers also liked

Edisi 12 Aceh
Edisi 12 AcehEdisi 12 Aceh
Edisi 12 Acehepaper
 
Edisi21desaceh
Edisi21desacehEdisi21desaceh
Edisi21desacehepaper
 
Back to the basics pcua 09 11 15
Back to the basics pcua 09 11 15Back to the basics pcua 09 11 15
Back to the basics pcua 09 11 15Tim Richardson
 
Lect 7 personal development and oe 2013
Lect 7  personal development and oe 2013Lect 7  personal development and oe 2013
Lect 7 personal development and oe 2013Geoff Adams
 
3jun aceh
3jun aceh3jun aceh
3jun acehepaper
 
Continues Integration
Continues IntegrationContinues Integration
Continues IntegrationGreg Osuri
 
Lect 3 - Connecting with nature - ways of seeing, ways of knowing 2013
Lect 3 - Connecting with nature - ways of seeing, ways of knowing 2013Lect 3 - Connecting with nature - ways of seeing, ways of knowing 2013
Lect 3 - Connecting with nature - ways of seeing, ways of knowing 2013Geoff Adams
 
08 Mar Aceh
08 Mar Aceh08 Mar Aceh
08 Mar Acehepaper
 
Coches ColeccióN Mod
Coches ColeccióN ModCoches ColeccióN Mod
Coches ColeccióN Modenritro
 
Finding the right legal process management tools
Finding the right legal process management toolsFinding the right legal process management tools
Finding the right legal process management toolssarahbrown1
 
Edisi 17 Feb Medan
Edisi 17 Feb MedanEdisi 17 Feb Medan
Edisi 17 Feb Medanepaper
 
Edisi 3 Feb Aceh
Edisi 3 Feb AcehEdisi 3 Feb Aceh
Edisi 3 Feb Acehepaper
 
Drupal introductie - GoalGorilla - Oxilion Lunch & Learn
Drupal introductie - GoalGorilla - Oxilion Lunch & LearnDrupal introductie - GoalGorilla - Oxilion Lunch & Learn
Drupal introductie - GoalGorilla - Oxilion Lunch & Learntaccie
 
Edisi29oktaceh
Edisi29oktacehEdisi29oktaceh
Edisi29oktacehepaper
 
Edisi 22 Des Nas
Edisi 22 Des NasEdisi 22 Des Nas
Edisi 22 Des Nasepaper
 
Community and Bush Environments - Seminar 7 - stages of community
Community and Bush Environments - Seminar 7 - stages of communityCommunity and Bush Environments - Seminar 7 - stages of community
Community and Bush Environments - Seminar 7 - stages of communityGeoff Adams
 
Edisi 6 Feb Nas
Edisi 6 Feb NasEdisi 6 Feb Nas
Edisi 6 Feb Nasepaper
 
Double Vision1
Double Vision1Double Vision1
Double Vision1galivebig
 
Chapter 12 Public Relations
Chapter 12   Public RelationsChapter 12   Public Relations
Chapter 12 Public RelationsJill Falk
 

Viewers also liked (20)

Edisi 12 Aceh
Edisi 12 AcehEdisi 12 Aceh
Edisi 12 Aceh
 
Edisi21desaceh
Edisi21desacehEdisi21desaceh
Edisi21desaceh
 
Back to the basics pcua 09 11 15
Back to the basics pcua 09 11 15Back to the basics pcua 09 11 15
Back to the basics pcua 09 11 15
 
Lect 7 personal development and oe 2013
Lect 7  personal development and oe 2013Lect 7  personal development and oe 2013
Lect 7 personal development and oe 2013
 
3jun aceh
3jun aceh3jun aceh
3jun aceh
 
Continues Integration
Continues IntegrationContinues Integration
Continues Integration
 
Uganda
UgandaUganda
Uganda
 
Lect 3 - Connecting with nature - ways of seeing, ways of knowing 2013
Lect 3 - Connecting with nature - ways of seeing, ways of knowing 2013Lect 3 - Connecting with nature - ways of seeing, ways of knowing 2013
Lect 3 - Connecting with nature - ways of seeing, ways of knowing 2013
 
08 Mar Aceh
08 Mar Aceh08 Mar Aceh
08 Mar Aceh
 
Coches ColeccióN Mod
Coches ColeccióN ModCoches ColeccióN Mod
Coches ColeccióN Mod
 
Finding the right legal process management tools
Finding the right legal process management toolsFinding the right legal process management tools
Finding the right legal process management tools
 
Edisi 17 Feb Medan
Edisi 17 Feb MedanEdisi 17 Feb Medan
Edisi 17 Feb Medan
 
Edisi 3 Feb Aceh
Edisi 3 Feb AcehEdisi 3 Feb Aceh
Edisi 3 Feb Aceh
 
Drupal introductie - GoalGorilla - Oxilion Lunch & Learn
Drupal introductie - GoalGorilla - Oxilion Lunch & LearnDrupal introductie - GoalGorilla - Oxilion Lunch & Learn
Drupal introductie - GoalGorilla - Oxilion Lunch & Learn
 
Edisi29oktaceh
Edisi29oktacehEdisi29oktaceh
Edisi29oktaceh
 
Edisi 22 Des Nas
Edisi 22 Des NasEdisi 22 Des Nas
Edisi 22 Des Nas
 
Community and Bush Environments - Seminar 7 - stages of community
Community and Bush Environments - Seminar 7 - stages of communityCommunity and Bush Environments - Seminar 7 - stages of community
Community and Bush Environments - Seminar 7 - stages of community
 
Edisi 6 Feb Nas
Edisi 6 Feb NasEdisi 6 Feb Nas
Edisi 6 Feb Nas
 
Double Vision1
Double Vision1Double Vision1
Double Vision1
 
Chapter 12 Public Relations
Chapter 12   Public RelationsChapter 12   Public Relations
Chapter 12 Public Relations
 

Similar to Site Speed 101: How to Get Your Site to Load in 1 Second or Less

Csaba Kissi - SEO Tactics 2022
Csaba Kissi - SEO Tactics 2022Csaba Kissi - SEO Tactics 2022
Csaba Kissi - SEO Tactics 2022Mubarok wei
 
Optimizing WordPress Performance
Optimizing WordPress PerformanceOptimizing WordPress Performance
Optimizing WordPress PerformanceDouglas Yuen
 
Squeeze Maximum Performance From Your Joomla Website
Squeeze Maximum Performance From Your Joomla WebsiteSqueeze Maximum Performance From Your Joomla Website
Squeeze Maximum Performance From Your Joomla WebsiteSiteGround.com
 
How to Build a Website Similar to WorldStarHipHop
How to Build a Website Similar to WorldStarHipHopHow to Build a Website Similar to WorldStarHipHop
How to Build a Website Similar to WorldStarHipHopTarik Pierce
 
Fast 5 Things You Can Do Now to Get Ready for the Cloud
Fast 5 Things You Can Do Now to Get Ready for the CloudFast 5 Things You Can Do Now to Get Ready for the Cloud
Fast 5 Things You Can Do Now to Get Ready for the CloudVMware Tanzu
 
10 things you can do to speed up your web app today stir trek edition
10 things you can do to speed up your web app today   stir trek edition10 things you can do to speed up your web app today   stir trek edition
10 things you can do to speed up your web app today stir trek editionChris Love
 
Aiming for automatic updates - Drupal Dev Days Lisbon 2018
Aiming for automatic updates - Drupal Dev Days Lisbon 2018Aiming for automatic updates - Drupal Dev Days Lisbon 2018
Aiming for automatic updates - Drupal Dev Days Lisbon 2018hernanibf
 
10 things to do to speed up your site
10 things to do to speed up your site10 things to do to speed up your site
10 things to do to speed up your siteIndigo Tree Digital
 
Minimize website page loading time – 20+ advanced SEO tips
Minimize website page loading time – 20+ advanced SEO tipsMinimize website page loading time – 20+ advanced SEO tips
Minimize website page loading time – 20+ advanced SEO tipsCgColors
 
Your website in the fast lane speedy seo (part 1)
Your website in the fast lane speedy seo (part 1)Your website in the fast lane speedy seo (part 1)
Your website in the fast lane speedy seo (part 1)Christopher Dill
 
10 Things You Can Do to Speed Up Your Web App Today
10 Things You Can Do to Speed Up Your Web App Today10 Things You Can Do to Speed Up Your Web App Today
10 Things You Can Do to Speed Up Your Web App TodayChris Love
 
Improving frontend performance
Improving frontend performanceImproving frontend performance
Improving frontend performanceSagar Desarda
 
I Can Haz More Performanz?
I Can Haz More Performanz?I Can Haz More Performanz?
I Can Haz More Performanz?Andy Melichar
 
Creating and Managing a WordPress Website with Amazon Lightsail - AWS Online ...
Creating and Managing a WordPress Website with Amazon Lightsail - AWS Online ...Creating and Managing a WordPress Website with Amazon Lightsail - AWS Online ...
Creating and Managing a WordPress Website with Amazon Lightsail - AWS Online ...Amazon Web Services
 
How to create a WordPress Site
How to create a WordPress Site How to create a WordPress Site
How to create a WordPress Site MuhammadUsaid2
 
Website Performance
Website PerformanceWebsite Performance
Website PerformanceHugo Fonseca
 
Recommendation at scale
Recommendation at scaleRecommendation at scale
Recommendation at scalesimondolle
 

Similar to Site Speed 101: How to Get Your Site to Load in 1 Second or Less (20)

Csaba Kissi - SEO Tactics 2022
Csaba Kissi - SEO Tactics 2022Csaba Kissi - SEO Tactics 2022
Csaba Kissi - SEO Tactics 2022
 
My website is live now what?
My website is live now what?My website is live now what?
My website is live now what?
 
Optimizing WordPress Performance
Optimizing WordPress PerformanceOptimizing WordPress Performance
Optimizing WordPress Performance
 
Squeeze Maximum Performance From Your Joomla Website
Squeeze Maximum Performance From Your Joomla WebsiteSqueeze Maximum Performance From Your Joomla Website
Squeeze Maximum Performance From Your Joomla Website
 
Is Your (Client's) Website Ready for 2017?
Is Your (Client's) Website Ready for 2017?Is Your (Client's) Website Ready for 2017?
Is Your (Client's) Website Ready for 2017?
 
How to Build a Website Similar to WorldStarHipHop
How to Build a Website Similar to WorldStarHipHopHow to Build a Website Similar to WorldStarHipHop
How to Build a Website Similar to WorldStarHipHop
 
Fast 5 Things You Can Do Now to Get Ready for the Cloud
Fast 5 Things You Can Do Now to Get Ready for the CloudFast 5 Things You Can Do Now to Get Ready for the Cloud
Fast 5 Things You Can Do Now to Get Ready for the Cloud
 
10 things you can do to speed up your web app today stir trek edition
10 things you can do to speed up your web app today   stir trek edition10 things you can do to speed up your web app today   stir trek edition
10 things you can do to speed up your web app today stir trek edition
 
Aiming for automatic updates - Drupal Dev Days Lisbon 2018
Aiming for automatic updates - Drupal Dev Days Lisbon 2018Aiming for automatic updates - Drupal Dev Days Lisbon 2018
Aiming for automatic updates - Drupal Dev Days Lisbon 2018
 
10 things to do to speed up your site
10 things to do to speed up your site10 things to do to speed up your site
10 things to do to speed up your site
 
Website Development
Website DevelopmentWebsite Development
Website Development
 
Minimize website page loading time – 20+ advanced SEO tips
Minimize website page loading time – 20+ advanced SEO tipsMinimize website page loading time – 20+ advanced SEO tips
Minimize website page loading time – 20+ advanced SEO tips
 
Your website in the fast lane speedy seo (part 1)
Your website in the fast lane speedy seo (part 1)Your website in the fast lane speedy seo (part 1)
Your website in the fast lane speedy seo (part 1)
 
10 Things You Can Do to Speed Up Your Web App Today
10 Things You Can Do to Speed Up Your Web App Today10 Things You Can Do to Speed Up Your Web App Today
10 Things You Can Do to Speed Up Your Web App Today
 
Improving frontend performance
Improving frontend performanceImproving frontend performance
Improving frontend performance
 
I Can Haz More Performanz?
I Can Haz More Performanz?I Can Haz More Performanz?
I Can Haz More Performanz?
 
Creating and Managing a WordPress Website with Amazon Lightsail - AWS Online ...
Creating and Managing a WordPress Website with Amazon Lightsail - AWS Online ...Creating and Managing a WordPress Website with Amazon Lightsail - AWS Online ...
Creating and Managing a WordPress Website with Amazon Lightsail - AWS Online ...
 
How to create a WordPress Site
How to create a WordPress Site How to create a WordPress Site
How to create a WordPress Site
 
Website Performance
Website PerformanceWebsite Performance
Website Performance
 
Recommendation at scale
Recommendation at scaleRecommendation at scale
Recommendation at scale
 

Recently uploaded

KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptxKnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptxTier1 app
 
Cyber security and its impact on E commerce
Cyber security and its impact on E commerceCyber security and its impact on E commerce
Cyber security and its impact on E commercemanigoyal112
 
React Server Component in Next.js by Hanief Utama
React Server Component in Next.js by Hanief UtamaReact Server Component in Next.js by Hanief Utama
React Server Component in Next.js by Hanief UtamaHanief Utama
 
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdfGOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdfAlina Yurenko
 
Intelligent Home Wi-Fi Solutions | ThinkPalm
Intelligent Home Wi-Fi Solutions | ThinkPalmIntelligent Home Wi-Fi Solutions | ThinkPalm
Intelligent Home Wi-Fi Solutions | ThinkPalmSujith Sukumaran
 
SpotFlow: Tracking Method Calls and States at Runtime
SpotFlow: Tracking Method Calls and States at RuntimeSpotFlow: Tracking Method Calls and States at Runtime
SpotFlow: Tracking Method Calls and States at Runtimeandrehoraa
 
What is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWhat is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWave PLM
 
How to Track Employee Performance A Comprehensive Guide.pdf
How to Track Employee Performance A Comprehensive Guide.pdfHow to Track Employee Performance A Comprehensive Guide.pdf
How to Track Employee Performance A Comprehensive Guide.pdfLivetecs LLC
 
Software Project Health Check: Best Practices and Techniques for Your Product...
Software Project Health Check: Best Practices and Techniques for Your Product...Software Project Health Check: Best Practices and Techniques for Your Product...
Software Project Health Check: Best Practices and Techniques for Your Product...Velvetech LLC
 
Unveiling Design Patterns: A Visual Guide with UML Diagrams
Unveiling Design Patterns: A Visual Guide with UML DiagramsUnveiling Design Patterns: A Visual Guide with UML Diagrams
Unveiling Design Patterns: A Visual Guide with UML DiagramsAhmed Mohamed
 
CRM Contender Series: HubSpot vs. Salesforce
CRM Contender Series: HubSpot vs. SalesforceCRM Contender Series: HubSpot vs. Salesforce
CRM Contender Series: HubSpot vs. SalesforceBrainSell Technologies
 
Cloud Data Center Network Construction - IEEE
Cloud Data Center Network Construction - IEEECloud Data Center Network Construction - IEEE
Cloud Data Center Network Construction - IEEEVICTOR MAESTRE RAMIREZ
 
Implementing Zero Trust strategy with Azure
Implementing Zero Trust strategy with AzureImplementing Zero Trust strategy with Azure
Implementing Zero Trust strategy with AzureDinusha Kumarasiri
 
Xen Safety Embedded OSS Summit April 2024 v4.pdf
Xen Safety Embedded OSS Summit April 2024 v4.pdfXen Safety Embedded OSS Summit April 2024 v4.pdf
Xen Safety Embedded OSS Summit April 2024 v4.pdfStefano Stabellini
 
Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...
Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...
Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...Cizo Technology Services
 
Odoo 14 - eLearning Module In Odoo 14 Enterprise
Odoo 14 - eLearning Module In Odoo 14 EnterpriseOdoo 14 - eLearning Module In Odoo 14 Enterprise
Odoo 14 - eLearning Module In Odoo 14 Enterprisepreethippts
 
How to submit a standout Adobe Champion Application
How to submit a standout Adobe Champion ApplicationHow to submit a standout Adobe Champion Application
How to submit a standout Adobe Champion ApplicationBradBedford3
 
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed DataAlluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed DataAlluxio, Inc.
 

Recently uploaded (20)

KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptxKnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
 
Cyber security and its impact on E commerce
Cyber security and its impact on E commerceCyber security and its impact on E commerce
Cyber security and its impact on E commerce
 
React Server Component in Next.js by Hanief Utama
React Server Component in Next.js by Hanief UtamaReact Server Component in Next.js by Hanief Utama
React Server Component in Next.js by Hanief Utama
 
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdfGOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
 
Intelligent Home Wi-Fi Solutions | ThinkPalm
Intelligent Home Wi-Fi Solutions | ThinkPalmIntelligent Home Wi-Fi Solutions | ThinkPalm
Intelligent Home Wi-Fi Solutions | ThinkPalm
 
SpotFlow: Tracking Method Calls and States at Runtime
SpotFlow: Tracking Method Calls and States at RuntimeSpotFlow: Tracking Method Calls and States at Runtime
SpotFlow: Tracking Method Calls and States at Runtime
 
What is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWhat is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need It
 
How to Track Employee Performance A Comprehensive Guide.pdf
How to Track Employee Performance A Comprehensive Guide.pdfHow to Track Employee Performance A Comprehensive Guide.pdf
How to Track Employee Performance A Comprehensive Guide.pdf
 
Software Project Health Check: Best Practices and Techniques for Your Product...
Software Project Health Check: Best Practices and Techniques for Your Product...Software Project Health Check: Best Practices and Techniques for Your Product...
Software Project Health Check: Best Practices and Techniques for Your Product...
 
Unveiling Design Patterns: A Visual Guide with UML Diagrams
Unveiling Design Patterns: A Visual Guide with UML DiagramsUnveiling Design Patterns: A Visual Guide with UML Diagrams
Unveiling Design Patterns: A Visual Guide with UML Diagrams
 
CRM Contender Series: HubSpot vs. Salesforce
CRM Contender Series: HubSpot vs. SalesforceCRM Contender Series: HubSpot vs. Salesforce
CRM Contender Series: HubSpot vs. Salesforce
 
Cloud Data Center Network Construction - IEEE
Cloud Data Center Network Construction - IEEECloud Data Center Network Construction - IEEE
Cloud Data Center Network Construction - IEEE
 
Implementing Zero Trust strategy with Azure
Implementing Zero Trust strategy with AzureImplementing Zero Trust strategy with Azure
Implementing Zero Trust strategy with Azure
 
Advantages of Odoo ERP 17 for Your Business
Advantages of Odoo ERP 17 for Your BusinessAdvantages of Odoo ERP 17 for Your Business
Advantages of Odoo ERP 17 for Your Business
 
Xen Safety Embedded OSS Summit April 2024 v4.pdf
Xen Safety Embedded OSS Summit April 2024 v4.pdfXen Safety Embedded OSS Summit April 2024 v4.pdf
Xen Safety Embedded OSS Summit April 2024 v4.pdf
 
Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...
Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...
Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...
 
2.pdf Ejercicios de programación competitiva
2.pdf Ejercicios de programación competitiva2.pdf Ejercicios de programación competitiva
2.pdf Ejercicios de programación competitiva
 
Odoo 14 - eLearning Module In Odoo 14 Enterprise
Odoo 14 - eLearning Module In Odoo 14 EnterpriseOdoo 14 - eLearning Module In Odoo 14 Enterprise
Odoo 14 - eLearning Module In Odoo 14 Enterprise
 
How to submit a standout Adobe Champion Application
How to submit a standout Adobe Champion ApplicationHow to submit a standout Adobe Champion Application
How to submit a standout Adobe Champion Application
 
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed DataAlluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
 

Site Speed 101: How to Get Your Site to Load in 1 Second or Less

  • 1. © 2015 Eighty & Eight dba dustina LLC. Creative Commons Attribution 4.0 License.
  • 2. Site Speed 101: How to Get Your Site to Load in 1 Second or Less © 2015 Eighty & Eight dba dustina LLC. Creative Commons Attribution 4.0 License.
  • 3. © 2015 Eighty & Eight dba dustina LLC. Creative Commons Attribution 4.0 License.
  • 4. Average Site Speed 6.7 seconds on desktop 10.2 seconds on mobile © 2015 Eighty & Eight dba dustina LLC. Creative Commons Attribution 4.0 License. * source
  • 5. Google Recommends: 1 second on all devices…. © 2015 Eighty & Eight dba dustina LLC. Creative Commons Attribution 4.0 License.
  • 6. © 2015 Eighty & Eight dba dustina LLC. Creative Commons Attribution 4.0 License.
  • 7. While [Google] noted at the time that...a small percentage of sites would see a significant change in ranking or traffic due to page speed factors, I find it likely that the emphasis will increase over time…. ...Having given webmasters fair notice...it’s reasonable to expect them to phase in greater emphasis until they feel that most of their top results deliver a high level of performance. - Roger Dooley …. © 2015 Eighty & Eight dba dustina LLC. Creative Commons Attribution 4.0 License. “
  • 8. © 2015 Eighty & Eight dba dustina LLC. Creative Commons Attribution 4.0 License.
  • 9. Site Speed Boosts Conversion • Amazon saw 1% drop for every 100 ms increase in load time • For Walmart, conversions doubled from 3 second load time to 1 second • Google saw 20% decrease in search traffic with ½ second increase in load time • Shopzilla saw 12% increase in conversions between faster and slower pages • Mozilla saw 15.4% increase in Firefox downloads in an A/B test with speed as the only variant • Microsoft saw .7% increase in traffic after enabling progressive rendering on Bing search pages © 2015 Eighty & Eight dba dustina LLC. Creative Commons Attribution 4.0 License.
  • 10. © 2015 Eighty & Eight dba dustina LLC. Creative Commons Attribution 4.0 License.
  • 11. In Summary: • Site speed is crucial to • Search rankings • User experience (branding) • Conversion All of these reasons mean money. Convinced? © 2015 Eighty & Eight dba dustina LLC. Creative Commons Attribution 4.0 License.
  • 12. © 2015 Eighty & Eight dba dustina LLC. Creative Commons Attribution 4.0 License.
  • 13. Let’s get started © 2015 Eighty & Eight dba dustina LLC. Creative Commons Attribution 4.0 License.
  • 14. 1. Take your web hosting seriously • Avoid shared hosting • Nginx outperforms Apache • Hosts running newer versions of PHP are faster (5.6!) • Use a dedicated host for your CMS • Most dedicated hosts have built-in redundancies for traffic spikes, CDN and caching • VPS • Use a CDN © 2015 Eighty & Eight dba dustina LLC. Creative Commons Attribution 4.0 License.
  • 15. I JUST CANNAE DO IT! I DINNAE HAVE THE POWER! © 2015 Eighty & Eight dba dustina LLC. Creative Commons Attribution 4.0 License.
  • 16. • Your configuration depends on your CMS and requirements • Consult a qualified system administrator • Consider Nginx • Use PHP-FPM (and FastCGI if using Apache) • Make sure you have server caching setup • Many WordPress caching plugins can actually slow down your site • Enable gzip compression (talk to your web host) 2. Optimize your server © 2015 Eighty & Eight dba dustina LLC. Creative Commons Attribution 4.0 License.
  • 17. © 2015 Eighty & Eight dba dustina LLC. Creative Commons Attribution 4.0 License.
  • 18. 3. Image Compression • Proper file type • Minimize use of .gif • Use “Save for Web” in Photoshop, Illustrator, or the “Save for Web” extension for GIMP • Other tools can help improve image compression © 2015 Eighty & Eight dba dustina LLC. Creative Commons Attribution 4.0 License.
  • 19. Some Automatic Compression Tools • TinyPng • Compressnow • Compressor.io • JPEG-Optimizer • Image Optimizer © 2015 Eighty & Eight dba dustina LLC. Creative Commons Attribution 4.0 License.
  • 20. If you’re adventurous… • jpegtran • gifsicle • optipng • pngquant • webp © 2015 Eighty & Eight dba dustina LLC. Creative Commons Attribution 4.0 License.
  • 21. © 2015 Eighty & Eight dba dustina LLC. Creative Commons Attribution 4.0 License.
  • 22. Truly Automatic Compression Tools • WP Smushit • EWWW Image Optimizer • Kraken.io © 2015 Eighty & Eight dba dustina LLC. Creative Commons Attribution 4.0 License.
  • 23. The Best Image Compression Option: • Manual compression in Photoshop, Illustrator, or GIMP © 2015 Eighty & Eight dba dustina LLC. Creative Commons Attribution 4.0 License.
  • 24. What’s the difference? • 15-30% average file size savings with automated tools • Usually 50-80% savings with manual tools • That could mean SECONDS off your load time © 2015 Eighty & Eight dba dustina LLC. Creative Commons Attribution 4.0 License.
  • 25. 3.1 MB © 2015 Eighty & Eight dba dustina LLC. Creative Commons Attribution 4.0 License.
  • 26. 182 KB © 2015 Eighty & Eight dba dustina LLC. Creative Commons Attribution 4.0 License.
  • 27. Results? • Original load time was 10-17 seconds on average • After optimizations, 600 milliseconds on average © 2015 Eighty & Eight dba dustina LLC. Creative Commons Attribution 4.0 License.
  • 28. © 2015 Eighty & Eight dba dustina LLC. Creative Commons Attribution 4.0 License.
  • 29. 4. Optimize WordPress • Eliminate unnecessary plugins • If ecommerce or a large site generally, consider a separate database, or a database server • Optimize your database • Remove unused files, pages, drafts, etc. • Use light themes and/or separate mobile theme • Understand what your JavaScript is doing © 2015 Eighty & Eight dba dustina LLC. Creative Commons Attribution 4.0 License.
  • 30.
  • 31. How well optimized is LingsCars.com? © 2015 Eighty & Eight dba dustina LLC. Creative Commons Attribution 4.0 License.
  • 32. 5. Combine AND Minify all the code • Javascript • CSS • HTML © 2015 Eighty & Eight dba dustina LLC. Creative Commons Attribution 4.0 License.
  • 33. 6. Remove query strings from *static* resources © 2015 Eighty & Eight dba dustina LLC. Creative Commons Attribution 4.0 License.
  • 34. 7. Cache & CDN • Server cache • Object cache • Memcache • Leverage user’s browser cache © 2015 Eighty & Eight dba dustina LLC. Creative Commons Attribution 4.0 License.
  • 35. I DO NOT SUPPOSE YOU COULD SPEED THINGS UP?!© 2015 Eighty & Eight dba dustina LLC. Creative Commons Attribution 4.0 License.
  • 36. 8. Minimize slow or heavy scripts & plugins • Avoid Flash and Silverlight at all costs • Minimize reliance on Javascript © 2015 Eighty & Eight dba dustina LLC. Creative Commons Attribution 4.0 License.
  • 37. I THOUGHT YOU SAID THIS SHIP WAS FAST?!
  • 38. 9. Minimize use of external content • Embedded external content • Videos • Social feeds • Ads • Google Fonts (not all created equal) • Install fonts locally if possible • NEVER use image files loading from another site (hotlinking), and block others from doing the same from your site © 2015 Eighty & Eight dba dustina LLC. Creative Commons Attribution 4.0 License.
  • 39. Don’t turn your site visitors into this guy © 2015 Eighty & Eight dba dustina LLC. Creative Commons Attribution 4.0 License.
  • 40. 10. Optimize how the page renders (DOM) • CSS in the header • Javascript in the footer • If your site has a lot of images, use Lazy Load (JS) • Make sure Javascript loads asynchronously © 2015 Eighty & Eight dba dustina LLC. Creative Commons Attribution 4.0 License.
  • 41. © 2015 Eighty & Eight dba dustina LLC. Creative Commons Attribution 4.0 License.
  • 42. © 2015 Eighty & Eight dba dustina LLC. Creative Commons Attribution 4.0 License.
  • 43. © 2015 Eighty & Eight dba dustina LLC. Creative Commons Attribution 4.0 License.
  • 44. Questions? © 2015 Eighty & Eight dba dustina LLC. Creative Commons Attribution 4.0 License.
  • 45. Feel Free to Ask Questions Later Too Slides: dnay.co/DeckDMC15 Tons of Resources: dnay.co/DMC15 dustin@eightyandeight.com @dustinnay © 2015 Eighty & Eight dba dustina LLC. Creative Commons Attribution 4.0 License.

Editor's Notes

  1. I’m obsessed with making WordPress sites fast, and we’ll talk about why very soon. I also love memes… probably too much. All the memes in this presentation were found online, I didn’t create any custom memes for this. Obviously I’m not the only person who hates slow sites. Now who’s going crazy with this spinning loading wheel thing up here?
  2. Disclaimer: this does not mean you can make any website load in 1 second or less. There are conditions, and I’ll talk about that later. But MOST WordPress sites should be able to load in 1 second or less, with some work.
  3. I finally got off of DSL in 2010. Before DSL my parents had free internet from Juno (remember that?). But increasingly we live in a fiber world, and slow sites do not cut it anymore.
  4. Averages Obviously 3G or 4G are going to be slower—we have to work with that though
  5. I know, this is tough.
  6. I’m not a ninja, but I’ve totally gotten up to make a sandwich before when something is taking a long time to load. Most users don’t want to work on ninja moves or sandwiches though—they just want to get to the information or tools they need.
  7. In the SearchMetrics 2014 ranking factors study, site speed one of the most important on-page ranking factors. All other things being equal, the faster website wins.
  8. How many of you have had this happen? If a website takes more than 5 seconds to load, I start thinking this.
  9. Obviously speed matters for conversion. These studies go back years, and new ones keep cropping up.
  10. If you don’t want to worry about speed for rankings, there are other very lucrative reasons to worry about site speed.
  11. In the notes I’ll give out at the end, I’ve included my favorite hosts to use.
  12. Your hosting platform needs to be commensurate with the load you will put on it.
  13. Unless you have your own VPS or dedicated server, you won’t have options. But these things can help you ask questions to find a good web host.
  14. Slow and steady never wins the race online. No philosophical arguments here.
  15. PNG for graphics, jpg for pictures, only use gif for animations (SPARINGLY) Photoshop is THE BEST for optimizing images. A little trick in illustrator: turn your picture into a high-fidelity illustration, which reduces the number of colors, gradients, and shadows, thereby reducing file size. Then “Save for web.”
  16. Tinypng is my favorite of these. Links in my notes at the end.
  17. These install on your own server (VPS or dedicated), and allow you to create custom processes to reduce file size.
  18. WP Smushit has no free option, but the other two do. I have tried all of these, though I haven’t tested extensively. In my experience, they all work well. Eventually I will run some extensive tests on these to see how they perform more exactly.
  19. The BEST option. GIMP works OK, but not as well as Photoshop. Unfortunately. Adobe maintains its chokehold on the market (and my continued reliance on Windows).
  20. Manual is the best. Period.
  21. Mt. Timpanogos, creative commons license. Used as background behind some content on a WordPress site.
  22. Can you tell?
  23. Obviously I did a lot more than just compress one image, but this is to show you that crazy things can happen. And that 10-17 second load time was on a dedicated WordPress host… so yes, this stuff matters, and a properly configured server won’t always save you.
  24. Not many people say this… but then older people or more likely to patiently wait for a page load than others.
  25. If you’re not using a plugin, deactivate it and delete it. If you have inactive plugins installed but not used, and you don’t plan on using it any time soon, remove it (this won’t speed up your site, but it may help prevent security vulnerabilities from being exploited on out-of-date plugins). Optimize your database – this really means cleaning up all the auto-drafts, and other “garbage” that tends to pile up in WordPress databases. Use a light theme with a mobile theme switcher, or a mobile theme. Responsive is great, but sometimes it can’t get you to 1 second or less. There are always tradeoffs. I’ll talk more about javascript in a moment. This could be a presentation unto itself. There are tons of resource links in the notes about this page.
  26. I’ll be selling ibuprofen after the presentation. :P
  27. But wait, this real website is a successful business, and loads in 2 seconds with over 200 image files on that home page. What?!?
  28. Caution: don’t combine your JS unless you really know what you’re doing, and be careful about minification. Some files won’t work properly if minified. Sometimes it’s a trial/error method to see what works and doesn’t. You are generally safe to combine and minify CSS, but keep on eye on it. HTML: please combine and minify.
  29. These just cause the server to do extra work before it renders processes (CSS and JS particularly). There is a plugin for this to make it simple (in Notes).
  30. This can be very complex, and depends entirely on your hosting plan and server configuration. As a general rule among WordPress plugins, my favorite plugin for caching is WP Rocket, but my favorite caching method is using the native cache within Nginx. WP Super Cache and WP Total Cache are also good alternatives, but if configured incorrectly can significantly slow down your site (instead of speeding it up).
  31. Just don’t use Flash. ‘nuf said. As always, your 1 second is a budget. If you can justify a larger budget, or justify why you need JS and make up for speed in other areas, by all means. Just avoid using JS unjustifiably. Just because you can doesn’t always mean you should.
  32. Not fast enough yet? We’ve still got a little work to do.
  33. Tons of embedded video? This may cause you problems. YouTube’s embedded videos create a few HTTP requests per embed instance. If you have 10 videos, that’s 30+ HTTP requests, which definitely adds some load time. Embedded Twitter feed? Not only does nobody care, it slows down your site. Delete it. Gone. Google Fonts add some extra time to load your site. It’s miniscule (usually only a few milliseconds), but if you’re loading 3 different Google Fonts, now we’re talking 50 milliseconds. Look at your budget. If you’re using multiple ad networks, bless your heart. There really is no hope for you. Never hotlink from someone else’ site. Then you rely on their (possibly) slow server to load your image. Stupid. Plus you’re stealing bandwidth. Use a CDN.
  34. This is a BIG issue. CSS has to fully load into the browser before it starts to render. Minification and combining the files helps, but you really need to make sure CSS is in the header. It should never be queued anywhere else. Ever. Period. Javascript should always be in the footer, unless it’s important to content rendering on the page, or is a tracking code and loads asynchronously. Otherwise, footer. Period. If you have tons of images (like lingscars.com), use the Lazy Load script so images load as a user scrolls down the page, rather than loading when the page loads. This reduces HTTP requests and load time significantly. Even if you only have 10 image files on your page, this makes a difference.
  35. Faster now?
  36. Thank you, thank you. Questions?