SlideShare a Scribd company logo
1 of 21
WordPress
Optimizations
How to Get From a D to an A
Who Is Shawn?
Shawn DeWolfe
Web developer. Web designer. Entrepreneur.
Started in WordPress in 2011.
Started with Web design in 1996.
Started programming in 1984.
Consulting site:
Shawn DeWolfe Consulting || https://shawndewolfe.com
What Makes A Site Slow?
● Bad Server
● Bad Connectivity (both from the server and the client)
● Bulky Code
● Bad Code
● Big Images
● Third Party Apps
● Too Many Files to Fetch
Why Does It Matter?
For Users:
● Long wait times means they will give up and leave your site.
● Big downloads could trip their data limits on mobile
● Slow to download makes it hard to share.
For Search Engines (read: Google):
● They will server out the “best” site.
● Download speed and size are ranking factors.
● Your site will be ranked below that of your competitors who deliver their
content better.
How Bad Is It Doc?
Assess your site. A good tool: https://GTMetrix.com
What Will A Speed Test Tell You?
They provide a simple to understand letter grade for your page
speed; and some hard data for the site size, download speed and
number of requests.
What Will A Speed Test Tell You?
The GTMetrix tabs will
tell you what your
biggest issues are
(again by letter grade)
and each area will pop
open to give you a
glimpse at the steps
required to get up to
speed.
What Will A Speed Test Tell You?
The Waterfall and
Timings tabs are
important because of
Javascript. Some
Javascript will hold
back the page loading.
If that element is
sluggish to come into
play, your page load
will suffer.
The Usual Suspects:Things to fix
● Image sizing: Get the right image for the job.
● Javascript placement: header vs. footer
● Javascript compression: collect all the JS in a few files
● CSS (style sheet) compression: collect all of the CSS into a few files
● Zipping (GZip) responses
● Code density. Don’t get too smart. The KISS rule is the best.
● Caching. While the first page is resource intensive, follow up pages and
loads will be cheaper / faster
● Content Expiry
● Third Party Assets: Like buttons, Google Fonts, Analytics, Hubspot, etc.
Things to fix: Image Sizing
● Images can be too big. Eg. a 72x72 pixel icon could actually use a
1400x800 image. Sometimes, this will be because of problems with planning.
Sometimes, a plugin will fail you and request and image that is too big to be
optimal.
● Images can be good un-optimized. Some images have more colour depth
than they need. The GTMetrix report will generate optimized images for you.
● Image format choices. Know the difference between GIFs (or is that GIF?),
JPEGs, PNGs, SVGs and bitmaps. Use the ideal image for the role in the
presentation.
Things to fix: Image Sprites
● One Key to Google’s success: CSS Sprites
● Take a larger image that contain multiple
elements.
● By stacking all of these elements into one image,
it replaces what could be 20 to 50 file downloads.
● The single file may be much more massive, but
this creates a win in the download and search
time.
● Use CSS to show off small elements of the large
image. Use the image region as the background
for the element.
Things to fix: JavaScript Placement
● The Header Is the best (except when it isn’t) When Javascript code goes
into the header, that code executes best. It will block the display of content
until the Javascript fully executes. From an end-user perspective, this is
horrible. They will be left with a white screen for much long than is ideal
● Put some stuff into the Footer. Some code can always go into the footer:
analytics code, helper code, code relevant to the lower sections of the page
(eg. a dynamic footer).
● Handy plugins. [LIST THE OKAY TO GOOD SCRIPT TO FOOTER
PLUGINS]
Things to fix: Compression & GZip
● File downloads are a big time suck.
● Fewer files to request and smaller files are key.
● Each plugin and theme is likely to introduce several CSS and JS files
apiece. This can quickly add to upto 20+ CSS and 20+ Javascript file
requests.
● Plugins like AutoOptimize can consolidate the CSS into fewer files; and
it can do the same with JavaScript.
● Almost every web server is capable of serving out files compressed
with GZip. Almost every web browser is capable of decoding GZipped
files.
Things to fix: Code Density
● As theme developers get more clever, themes get larger.
● The example site, The Rebuild
○ It uses 6.65 megabytes of HTML, JS, CSS and images to deliver 468
words of content and text.
○ As raw text, those words would be something like 3,000 bytes of data.
○ Take the same ratio of bulky code and apply it to War & Peace.
It would be take 1.4 gigabytes of formatting to present
that 600 kilobytes of text.
● Make sure your code is lean, legible and easy to
process-- both for new browsers, older browsers
and IE….
Things to fix: Server Side Caching
● Server Caching:
○ Store complex output (eg. leaderboards, lists of recent posts, stats).
○ Optimize code on the server before it is shipped to the client.
○ Deploy a plugin like W3 Total Cache, WP Cache or [OTHER?]
● Keep-Alive
○ Time is lost when some browsers reacquire the path to your server with
each file request. By tweaking the server’s Keep Alive, you can keep that
connection active.
● Content Delivery Networks (CDNs)
○ Use a CDN to stow and deliver some of the content.
○ A CDN can take the pressure off of the server.
A CDN can deliver content from a closer server-- closer to the end client.
Things to fix: Client Side Caching
● Caching takes two forms: browser side and server side.
● Client side Caching:
○ Make content cacheable. WordPress will put Query strings onto the tail
end of some assets and change that string with each load to give you a
new fresh and expensive load.
○ Change the Expiry date (it’s a meta data setting in the served asssets) to
push it days or even months into the future. Keep your assets on the
client side as much as is practical.
Things to fix: Third Party Assets
● Easy to deploy third party code-- Instagram widgets, Facebook widgets,
Google Font, Click-to-chat, CRM tools-- they almost always kill
performance.
● Pull as much as possible into your control. Download Google fonts and
serve them from your site or your CDN.
● Deliver the content from server side generated HTML, not Javascript
delivered / built code.
● Elect to leave out some of the third party assets on some pages. If
performance is really important, be cautious of third party apps.
Things to fix: Third Party Assets
● The worst thing about
bad actors: they can
wreck your party. I did all
of these optimization,
but Facebook trashed
my page performance.
The End Result
● Installed Auto-Optimize
● Installed WP Total Cache
● Added GZIP code to my site
● Cleaned up some bulky images
● Compressed CSS, JS and HTML
Questions???
???
??? ???
???
Want to talk?
https://shawndewolfe.com || shawn@shawndewolfe.com
Twitter: dewolfe001

More Related Content

What's hot

Making Web Sites Fast - Greg Keith
Making Web Sites Fast - Greg KeithMaking Web Sites Fast - Greg Keith
Making Web Sites Fast - Greg KeithSEOGregKeith
 
Keeping the Lights On with MongoDB
Keeping the Lights On with MongoDBKeeping the Lights On with MongoDB
Keeping the Lights On with MongoDBTony Tam
 
Time to Migrate to HTTPS – The Simple Way to Do It Right, And the Ways That t...
Time to Migrate to HTTPS – The Simple Way to Do It Right, And the Ways That t...Time to Migrate to HTTPS – The Simple Way to Do It Right, And the Ways That t...
Time to Migrate to HTTPS – The Simple Way to Do It Right, And the Ways That t...Click Consult (Part of Ceuta Group)
 
Managing a MongoDB Deployment
Managing a MongoDB DeploymentManaging a MongoDB Deployment
Managing a MongoDB DeploymentTony Tam
 
Migrating from MySQL to MongoDB at Wordnik
Migrating from MySQL to MongoDB at WordnikMigrating from MySQL to MongoDB at Wordnik
Migrating from MySQL to MongoDB at WordnikTony Tam
 
Front-End Performance Checklist 2020
Front-End Performance Checklist 2020Front-End Performance Checklist 2020
Front-End Performance Checklist 2020Harsha MV
 
Google Cloud Platform at Vente-Exclusive.com
Google Cloud Platform at Vente-Exclusive.comGoogle Cloud Platform at Vente-Exclusive.com
Google Cloud Platform at Vente-Exclusive.comAlex Van Boxel
 
MongoDB vs Mysql. A devops point of view
MongoDB vs Mysql. A devops point of viewMongoDB vs Mysql. A devops point of view
MongoDB vs Mysql. A devops point of viewPierre Baillet
 
PDF Generation in Rails with Prawn and Prawn-to: John McCaffrey
PDF Generation in Rails with Prawn and Prawn-to: John McCaffreyPDF Generation in Rails with Prawn and Prawn-to: John McCaffrey
PDF Generation in Rails with Prawn and Prawn-to: John McCaffreyJohn McCaffrey
 
Css,javascript,php,mysql
Css,javascript,php,mysqlCss,javascript,php,mysql
Css,javascript,php,mysqlvurimi prasad
 
DIY : How To Achieve Proper On Page Optimization
DIY : How To Achieve Proper On Page OptimizationDIY : How To Achieve Proper On Page Optimization
DIY : How To Achieve Proper On Page Optimizationeyasir arafat
 
Developing with the Modern App Stack: MEAN and MERN (with Angular2 and ReactJS)
Developing with the Modern App Stack: MEAN and MERN (with Angular2 and ReactJS)Developing with the Modern App Stack: MEAN and MERN (with Angular2 and ReactJS)
Developing with the Modern App Stack: MEAN and MERN (with Angular2 and ReactJS)MongoDB
 
Introduction To MongoDB
Introduction To MongoDBIntroduction To MongoDB
Introduction To MongoDBElieHannouch
 
#1 of HTML and CSS3
#1 of HTML and CSS3 #1 of HTML and CSS3
#1 of HTML and CSS3 Ahmed Yousef
 
MongoDB SoCal 2020: Migrate Anything* to MongoDB Atlas
MongoDB SoCal 2020: Migrate Anything* to MongoDB AtlasMongoDB SoCal 2020: Migrate Anything* to MongoDB Atlas
MongoDB SoCal 2020: Migrate Anything* to MongoDB AtlasMongoDB
 
JAMstack WTJ
JAMstack WTJJAMstack WTJ
JAMstack WTJzonathen
 
Ruby on Rails Performance Tuning. Make it faster, make it better (WindyCityRa...
Ruby on Rails Performance Tuning. Make it faster, make it better (WindyCityRa...Ruby on Rails Performance Tuning. Make it faster, make it better (WindyCityRa...
Ruby on Rails Performance Tuning. Make it faster, make it better (WindyCityRa...John McCaffrey
 
Thin Server Architecture SPA, 5 years old presentation
Thin Server Architecture SPA, 5 years old presentationThin Server Architecture SPA, 5 years old presentation
Thin Server Architecture SPA, 5 years old presentationDavid Amend
 
Building high performing web pages
Building high performing web pagesBuilding high performing web pages
Building high performing web pagesNilesh Bafna
 

What's hot (20)

Making Web Sites Fast - Greg Keith
Making Web Sites Fast - Greg KeithMaking Web Sites Fast - Greg Keith
Making Web Sites Fast - Greg Keith
 
Keeping the Lights On with MongoDB
Keeping the Lights On with MongoDBKeeping the Lights On with MongoDB
Keeping the Lights On with MongoDB
 
Time to Migrate to HTTPS – The Simple Way to Do It Right, And the Ways That t...
Time to Migrate to HTTPS – The Simple Way to Do It Right, And the Ways That t...Time to Migrate to HTTPS – The Simple Way to Do It Right, And the Ways That t...
Time to Migrate to HTTPS – The Simple Way to Do It Right, And the Ways That t...
 
Managing a MongoDB Deployment
Managing a MongoDB DeploymentManaging a MongoDB Deployment
Managing a MongoDB Deployment
 
Bentobox exercise
Bentobox exerciseBentobox exercise
Bentobox exercise
 
Migrating from MySQL to MongoDB at Wordnik
Migrating from MySQL to MongoDB at WordnikMigrating from MySQL to MongoDB at Wordnik
Migrating from MySQL to MongoDB at Wordnik
 
Front-End Performance Checklist 2020
Front-End Performance Checklist 2020Front-End Performance Checklist 2020
Front-End Performance Checklist 2020
 
Google Cloud Platform at Vente-Exclusive.com
Google Cloud Platform at Vente-Exclusive.comGoogle Cloud Platform at Vente-Exclusive.com
Google Cloud Platform at Vente-Exclusive.com
 
MongoDB vs Mysql. A devops point of view
MongoDB vs Mysql. A devops point of viewMongoDB vs Mysql. A devops point of view
MongoDB vs Mysql. A devops point of view
 
PDF Generation in Rails with Prawn and Prawn-to: John McCaffrey
PDF Generation in Rails with Prawn and Prawn-to: John McCaffreyPDF Generation in Rails with Prawn and Prawn-to: John McCaffrey
PDF Generation in Rails with Prawn and Prawn-to: John McCaffrey
 
Css,javascript,php,mysql
Css,javascript,php,mysqlCss,javascript,php,mysql
Css,javascript,php,mysql
 
DIY : How To Achieve Proper On Page Optimization
DIY : How To Achieve Proper On Page OptimizationDIY : How To Achieve Proper On Page Optimization
DIY : How To Achieve Proper On Page Optimization
 
Developing with the Modern App Stack: MEAN and MERN (with Angular2 and ReactJS)
Developing with the Modern App Stack: MEAN and MERN (with Angular2 and ReactJS)Developing with the Modern App Stack: MEAN and MERN (with Angular2 and ReactJS)
Developing with the Modern App Stack: MEAN and MERN (with Angular2 and ReactJS)
 
Introduction To MongoDB
Introduction To MongoDBIntroduction To MongoDB
Introduction To MongoDB
 
#1 of HTML and CSS3
#1 of HTML and CSS3 #1 of HTML and CSS3
#1 of HTML and CSS3
 
MongoDB SoCal 2020: Migrate Anything* to MongoDB Atlas
MongoDB SoCal 2020: Migrate Anything* to MongoDB AtlasMongoDB SoCal 2020: Migrate Anything* to MongoDB Atlas
MongoDB SoCal 2020: Migrate Anything* to MongoDB Atlas
 
JAMstack WTJ
JAMstack WTJJAMstack WTJ
JAMstack WTJ
 
Ruby on Rails Performance Tuning. Make it faster, make it better (WindyCityRa...
Ruby on Rails Performance Tuning. Make it faster, make it better (WindyCityRa...Ruby on Rails Performance Tuning. Make it faster, make it better (WindyCityRa...
Ruby on Rails Performance Tuning. Make it faster, make it better (WindyCityRa...
 
Thin Server Architecture SPA, 5 years old presentation
Thin Server Architecture SPA, 5 years old presentationThin Server Architecture SPA, 5 years old presentation
Thin Server Architecture SPA, 5 years old presentation
 
Building high performing web pages
Building high performing web pagesBuilding high performing web pages
Building high performing web pages
 

Similar to Word press optimizations

Web Client Performance
Web Client PerformanceWeb Client Performance
Web Client PerformanceHerea Adrian
 
The Future Is The Cloud
The Future Is The CloudThe Future Is The Cloud
The Future Is The CloudGatsbyjs
 
Boosting your conversion rate through web performance improvements
Boosting your conversion rate through web performance improvementsBoosting your conversion rate through web performance improvements
Boosting your conversion rate through web performance improvementsAlyss Noland
 
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
 
Understanding Page Load / Ziling Zhao (Google)
Understanding Page Load / Ziling Zhao (Google)Understanding Page Load / Ziling Zhao (Google)
Understanding Page Load / Ziling Zhao (Google)Ontico
 
Website & Internet + Performance testing
Website & Internet + Performance testingWebsite & Internet + Performance testing
Website & Internet + Performance testingRoman Ananev
 
High Performance Ajax Applications
High Performance Ajax ApplicationsHigh Performance Ajax Applications
High Performance Ajax ApplicationsSiarhei Barysiuk
 
JS digest. Decemebr 2017
JS digest. Decemebr 2017JS digest. Decemebr 2017
JS digest. Decemebr 2017ElifTech
 
Optimizing website performance
Optimizing website performanceOptimizing website performance
Optimizing website performancePublisto Ltd.
 
The latest in site speed: advanced #webperf 2018
The latest in site speed: advanced #webperf 2018The latest in site speed: advanced #webperf 2018
The latest in site speed: advanced #webperf 2018Anton Shulke
 
Super speed around the globe - SearchLeeds 2018
Super speed around the globe - SearchLeeds 2018Super speed around the globe - SearchLeeds 2018
Super speed around the globe - SearchLeeds 2018Bastian Grimm
 
SearchLeeds 2018 - Bastian Grimm - Peak Ace - International site speed: Going...
SearchLeeds 2018 - Bastian Grimm - Peak Ace - International site speed: Going...SearchLeeds 2018 - Bastian Grimm - Peak Ace - International site speed: Going...
SearchLeeds 2018 - Bastian Grimm - Peak Ace - International site speed: Going...Branded3
 
20 tips for website performance
20 tips for website performance20 tips for website performance
20 tips for website performanceAndrew Siemer
 
Search Oxford March 2022 - Most common ecommerce mistakes that are killing yo...
Search Oxford March 2022 - Most common ecommerce mistakes that are killing yo...Search Oxford March 2022 - Most common ecommerce mistakes that are killing yo...
Search Oxford March 2022 - Most common ecommerce mistakes that are killing yo...Izabela Wisniewska
 
New Ranking Metrics by Google
New Ranking Metrics by GoogleNew Ranking Metrics by Google
New Ranking Metrics by GooglePhil Marx
 
Web performance optimization - MercadoLibre
Web performance optimization - MercadoLibreWeb performance optimization - MercadoLibre
Web performance optimization - MercadoLibrePablo Moretti
 
Building Web Mobile App that don’t suck - FITC Web Unleashed - 2014-09-18
Building Web Mobile App that don’t suck - FITC Web Unleashed - 2014-09-18Building Web Mobile App that don’t suck - FITC Web Unleashed - 2014-09-18
Building Web Mobile App that don’t suck - FITC Web Unleashed - 2014-09-18Frédéric Harper
 

Similar to Word press optimizations (20)

Web Client Performance
Web Client PerformanceWeb Client Performance
Web Client Performance
 
The Future Is The Cloud
The Future Is The CloudThe Future Is The Cloud
The Future Is The Cloud
 
Boosting your conversion rate through web performance improvements
Boosting your conversion rate through web performance improvementsBoosting your conversion rate through web performance improvements
Boosting your conversion rate through web performance improvements
 
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
 
Understanding Page Load / Ziling Zhao (Google)
Understanding Page Load / Ziling Zhao (Google)Understanding Page Load / Ziling Zhao (Google)
Understanding Page Load / Ziling Zhao (Google)
 
Website & Internet + Performance testing
Website & Internet + Performance testingWebsite & Internet + Performance testing
Website & Internet + Performance testing
 
High Performance Ajax Applications
High Performance Ajax ApplicationsHigh Performance Ajax Applications
High Performance Ajax Applications
 
JS digest. Decemebr 2017
JS digest. Decemebr 2017JS digest. Decemebr 2017
JS digest. Decemebr 2017
 
Front-end performances
Front-end performancesFront-end performances
Front-end performances
 
Optimizing website performance
Optimizing website performanceOptimizing website performance
Optimizing website performance
 
The latest in site speed: advanced #webperf 2018
The latest in site speed: advanced #webperf 2018The latest in site speed: advanced #webperf 2018
The latest in site speed: advanced #webperf 2018
 
Dust.js
Dust.jsDust.js
Dust.js
 
Super speed around the globe - SearchLeeds 2018
Super speed around the globe - SearchLeeds 2018Super speed around the globe - SearchLeeds 2018
Super speed around the globe - SearchLeeds 2018
 
SearchLeeds 2018 - Bastian Grimm - Peak Ace - International site speed: Going...
SearchLeeds 2018 - Bastian Grimm - Peak Ace - International site speed: Going...SearchLeeds 2018 - Bastian Grimm - Peak Ace - International site speed: Going...
SearchLeeds 2018 - Bastian Grimm - Peak Ace - International site speed: Going...
 
20 tips for website performance
20 tips for website performance20 tips for website performance
20 tips for website performance
 
Search Oxford March 2022 - Most common ecommerce mistakes that are killing yo...
Search Oxford March 2022 - Most common ecommerce mistakes that are killing yo...Search Oxford March 2022 - Most common ecommerce mistakes that are killing yo...
Search Oxford March 2022 - Most common ecommerce mistakes that are killing yo...
 
New Ranking Metrics by Google
New Ranking Metrics by GoogleNew Ranking Metrics by Google
New Ranking Metrics by Google
 
Web performance optimization - MercadoLibre
Web performance optimization - MercadoLibreWeb performance optimization - MercadoLibre
Web performance optimization - MercadoLibre
 
Building Web Mobile App that don’t suck - FITC Web Unleashed - 2014-09-18
Building Web Mobile App that don’t suck - FITC Web Unleashed - 2014-09-18Building Web Mobile App that don’t suck - FITC Web Unleashed - 2014-09-18
Building Web Mobile App that don’t suck - FITC Web Unleashed - 2014-09-18
 
Tips to improve your website performance
Tips to improve your website performanceTips to improve your website performance
Tips to improve your website performance
 

Recently uploaded

'Future Evolution of the Internet' delivered by Geoff Huston at Everything Op...
'Future Evolution of the Internet' delivered by Geoff Huston at Everything Op...'Future Evolution of the Internet' delivered by Geoff Huston at Everything Op...
'Future Evolution of the Internet' delivered by Geoff Huston at Everything Op...APNIC
 
Call Girls Service Chandigarh Lucky ❤️ 7710465962 Independent Call Girls In C...
Call Girls Service Chandigarh Lucky ❤️ 7710465962 Independent Call Girls In C...Call Girls Service Chandigarh Lucky ❤️ 7710465962 Independent Call Girls In C...
Call Girls Service Chandigarh Lucky ❤️ 7710465962 Independent Call Girls In C...Sheetaleventcompany
 
Networking in the Penumbra presented by Geoff Huston at NZNOG
Networking in the Penumbra presented by Geoff Huston at NZNOGNetworking in the Penumbra presented by Geoff Huston at NZNOG
Networking in the Penumbra presented by Geoff Huston at NZNOGAPNIC
 
Enjoy Night⚡Call Girls Dlf City Phase 3 Gurgaon >༒8448380779 Escort Service
Enjoy Night⚡Call Girls Dlf City Phase 3 Gurgaon >༒8448380779 Escort ServiceEnjoy Night⚡Call Girls Dlf City Phase 3 Gurgaon >༒8448380779 Escort Service
Enjoy Night⚡Call Girls Dlf City Phase 3 Gurgaon >༒8448380779 Escort ServiceDelhi Call girls
 
Radiant Call girls in Dubai O56338O268 Dubai Call girls
Radiant Call girls in Dubai O56338O268 Dubai Call girlsRadiant Call girls in Dubai O56338O268 Dubai Call girls
Radiant Call girls in Dubai O56338O268 Dubai Call girlsstephieert
 
DDoS In Oceania and the Pacific, presented by Dave Phelan at NZNOG 2024
DDoS In Oceania and the Pacific, presented by Dave Phelan at NZNOG 2024DDoS In Oceania and the Pacific, presented by Dave Phelan at NZNOG 2024
DDoS In Oceania and the Pacific, presented by Dave Phelan at NZNOG 2024APNIC
 
Call Girls In Model Towh Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Model Towh Delhi 💯Call Us 🔝8264348440🔝Call Girls In Model Towh Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Model Towh Delhi 💯Call Us 🔝8264348440🔝soniya singh
 
AWS Community DAY Albertini-Ellan Cloud Security (1).pptx
AWS Community DAY Albertini-Ellan Cloud Security (1).pptxAWS Community DAY Albertini-Ellan Cloud Security (1).pptx
AWS Community DAY Albertini-Ellan Cloud Security (1).pptxellan12
 
Challengers I Told Ya ShirtChallengers I Told Ya Shirt
Challengers I Told Ya ShirtChallengers I Told Ya ShirtChallengers I Told Ya ShirtChallengers I Told Ya Shirt
Challengers I Told Ya ShirtChallengers I Told Ya Shirtrahman018755
 
Call Girls In Saket Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Saket Delhi 💯Call Us 🔝8264348440🔝Call Girls In Saket Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Saket Delhi 💯Call Us 🔝8264348440🔝soniya singh
 
VIP Call Girls Pune Madhuri 8617697112 Independent Escort Service Pune
VIP Call Girls Pune Madhuri 8617697112 Independent Escort Service PuneVIP Call Girls Pune Madhuri 8617697112 Independent Escort Service Pune
VIP Call Girls Pune Madhuri 8617697112 Independent Escort Service PuneCall girls in Ahmedabad High profile
 
VIP Kolkata Call Girl Dum Dum 👉 8250192130 Available With Room
VIP Kolkata Call Girl Dum Dum 👉 8250192130  Available With RoomVIP Kolkata Call Girl Dum Dum 👉 8250192130  Available With Room
VIP Kolkata Call Girl Dum Dum 👉 8250192130 Available With Roomdivyansh0kumar0
 
AlbaniaDreamin24 - How to easily use an API with Flows
AlbaniaDreamin24 - How to easily use an API with FlowsAlbaniaDreamin24 - How to easily use an API with Flows
AlbaniaDreamin24 - How to easily use an API with FlowsThierry TROUIN ☁
 
Delhi Call Girls Rohini 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Rohini 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip CallDelhi Call Girls Rohini 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Rohini 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Callshivangimorya083
 
Chennai Call Girls Porur Phone 🍆 8250192130 👅 celebrity escorts service
Chennai Call Girls Porur Phone 🍆 8250192130 👅 celebrity escorts serviceChennai Call Girls Porur Phone 🍆 8250192130 👅 celebrity escorts service
Chennai Call Girls Porur Phone 🍆 8250192130 👅 celebrity escorts servicesonalikaur4
 
Call Girls In Defence Colony Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Defence Colony Delhi 💯Call Us 🔝8264348440🔝Call Girls In Defence Colony Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Defence Colony Delhi 💯Call Us 🔝8264348440🔝soniya singh
 
Moving Beyond Twitter/X and Facebook - Social Media for local news providers
Moving Beyond Twitter/X and Facebook - Social Media for local news providersMoving Beyond Twitter/X and Facebook - Social Media for local news providers
Moving Beyond Twitter/X and Facebook - Social Media for local news providersDamian Radcliffe
 
On Starlink, presented by Geoff Huston at NZNOG 2024
On Starlink, presented by Geoff Huston at NZNOG 2024On Starlink, presented by Geoff Huston at NZNOG 2024
On Starlink, presented by Geoff Huston at NZNOG 2024APNIC
 

Recently uploaded (20)

'Future Evolution of the Internet' delivered by Geoff Huston at Everything Op...
'Future Evolution of the Internet' delivered by Geoff Huston at Everything Op...'Future Evolution of the Internet' delivered by Geoff Huston at Everything Op...
'Future Evolution of the Internet' delivered by Geoff Huston at Everything Op...
 
Call Girls Service Chandigarh Lucky ❤️ 7710465962 Independent Call Girls In C...
Call Girls Service Chandigarh Lucky ❤️ 7710465962 Independent Call Girls In C...Call Girls Service Chandigarh Lucky ❤️ 7710465962 Independent Call Girls In C...
Call Girls Service Chandigarh Lucky ❤️ 7710465962 Independent Call Girls In C...
 
Networking in the Penumbra presented by Geoff Huston at NZNOG
Networking in the Penumbra presented by Geoff Huston at NZNOGNetworking in the Penumbra presented by Geoff Huston at NZNOG
Networking in the Penumbra presented by Geoff Huston at NZNOG
 
Enjoy Night⚡Call Girls Dlf City Phase 3 Gurgaon >༒8448380779 Escort Service
Enjoy Night⚡Call Girls Dlf City Phase 3 Gurgaon >༒8448380779 Escort ServiceEnjoy Night⚡Call Girls Dlf City Phase 3 Gurgaon >༒8448380779 Escort Service
Enjoy Night⚡Call Girls Dlf City Phase 3 Gurgaon >༒8448380779 Escort Service
 
Radiant Call girls in Dubai O56338O268 Dubai Call girls
Radiant Call girls in Dubai O56338O268 Dubai Call girlsRadiant Call girls in Dubai O56338O268 Dubai Call girls
Radiant Call girls in Dubai O56338O268 Dubai Call girls
 
DDoS In Oceania and the Pacific, presented by Dave Phelan at NZNOG 2024
DDoS In Oceania and the Pacific, presented by Dave Phelan at NZNOG 2024DDoS In Oceania and the Pacific, presented by Dave Phelan at NZNOG 2024
DDoS In Oceania and the Pacific, presented by Dave Phelan at NZNOG 2024
 
Rohini Sector 26 Call Girls Delhi 9999965857 @Sabina Saikh No Advance
Rohini Sector 26 Call Girls Delhi 9999965857 @Sabina Saikh No AdvanceRohini Sector 26 Call Girls Delhi 9999965857 @Sabina Saikh No Advance
Rohini Sector 26 Call Girls Delhi 9999965857 @Sabina Saikh No Advance
 
Call Girls In Model Towh Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Model Towh Delhi 💯Call Us 🔝8264348440🔝Call Girls In Model Towh Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Model Towh Delhi 💯Call Us 🔝8264348440🔝
 
AWS Community DAY Albertini-Ellan Cloud Security (1).pptx
AWS Community DAY Albertini-Ellan Cloud Security (1).pptxAWS Community DAY Albertini-Ellan Cloud Security (1).pptx
AWS Community DAY Albertini-Ellan Cloud Security (1).pptx
 
Challengers I Told Ya ShirtChallengers I Told Ya Shirt
Challengers I Told Ya ShirtChallengers I Told Ya ShirtChallengers I Told Ya ShirtChallengers I Told Ya Shirt
Challengers I Told Ya ShirtChallengers I Told Ya Shirt
 
Call Girls In Saket Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Saket Delhi 💯Call Us 🔝8264348440🔝Call Girls In Saket Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Saket Delhi 💯Call Us 🔝8264348440🔝
 
VIP Call Girls Pune Madhuri 8617697112 Independent Escort Service Pune
VIP Call Girls Pune Madhuri 8617697112 Independent Escort Service PuneVIP Call Girls Pune Madhuri 8617697112 Independent Escort Service Pune
VIP Call Girls Pune Madhuri 8617697112 Independent Escort Service Pune
 
VIP Kolkata Call Girl Dum Dum 👉 8250192130 Available With Room
VIP Kolkata Call Girl Dum Dum 👉 8250192130  Available With RoomVIP Kolkata Call Girl Dum Dum 👉 8250192130  Available With Room
VIP Kolkata Call Girl Dum Dum 👉 8250192130 Available With Room
 
AlbaniaDreamin24 - How to easily use an API with Flows
AlbaniaDreamin24 - How to easily use an API with FlowsAlbaniaDreamin24 - How to easily use an API with Flows
AlbaniaDreamin24 - How to easily use an API with Flows
 
Delhi Call Girls Rohini 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Rohini 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip CallDelhi Call Girls Rohini 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Rohini 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
 
Chennai Call Girls Porur Phone 🍆 8250192130 👅 celebrity escorts service
Chennai Call Girls Porur Phone 🍆 8250192130 👅 celebrity escorts serviceChennai Call Girls Porur Phone 🍆 8250192130 👅 celebrity escorts service
Chennai Call Girls Porur Phone 🍆 8250192130 👅 celebrity escorts service
 
Rohini Sector 6 Call Girls Delhi 9999965857 @Sabina Saikh No Advance
Rohini Sector 6 Call Girls Delhi 9999965857 @Sabina Saikh No AdvanceRohini Sector 6 Call Girls Delhi 9999965857 @Sabina Saikh No Advance
Rohini Sector 6 Call Girls Delhi 9999965857 @Sabina Saikh No Advance
 
Call Girls In Defence Colony Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Defence Colony Delhi 💯Call Us 🔝8264348440🔝Call Girls In Defence Colony Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Defence Colony Delhi 💯Call Us 🔝8264348440🔝
 
Moving Beyond Twitter/X and Facebook - Social Media for local news providers
Moving Beyond Twitter/X and Facebook - Social Media for local news providersMoving Beyond Twitter/X and Facebook - Social Media for local news providers
Moving Beyond Twitter/X and Facebook - Social Media for local news providers
 
On Starlink, presented by Geoff Huston at NZNOG 2024
On Starlink, presented by Geoff Huston at NZNOG 2024On Starlink, presented by Geoff Huston at NZNOG 2024
On Starlink, presented by Geoff Huston at NZNOG 2024
 

Word press optimizations

  • 2. Who Is Shawn? Shawn DeWolfe Web developer. Web designer. Entrepreneur. Started in WordPress in 2011. Started with Web design in 1996. Started programming in 1984. Consulting site: Shawn DeWolfe Consulting || https://shawndewolfe.com
  • 3. What Makes A Site Slow? ● Bad Server ● Bad Connectivity (both from the server and the client) ● Bulky Code ● Bad Code ● Big Images ● Third Party Apps ● Too Many Files to Fetch
  • 4. Why Does It Matter? For Users: ● Long wait times means they will give up and leave your site. ● Big downloads could trip their data limits on mobile ● Slow to download makes it hard to share. For Search Engines (read: Google): ● They will server out the “best” site. ● Download speed and size are ranking factors. ● Your site will be ranked below that of your competitors who deliver their content better.
  • 5. How Bad Is It Doc? Assess your site. A good tool: https://GTMetrix.com
  • 6. What Will A Speed Test Tell You? They provide a simple to understand letter grade for your page speed; and some hard data for the site size, download speed and number of requests.
  • 7. What Will A Speed Test Tell You? The GTMetrix tabs will tell you what your biggest issues are (again by letter grade) and each area will pop open to give you a glimpse at the steps required to get up to speed.
  • 8. What Will A Speed Test Tell You? The Waterfall and Timings tabs are important because of Javascript. Some Javascript will hold back the page loading. If that element is sluggish to come into play, your page load will suffer.
  • 9. The Usual Suspects:Things to fix ● Image sizing: Get the right image for the job. ● Javascript placement: header vs. footer ● Javascript compression: collect all the JS in a few files ● CSS (style sheet) compression: collect all of the CSS into a few files ● Zipping (GZip) responses ● Code density. Don’t get too smart. The KISS rule is the best. ● Caching. While the first page is resource intensive, follow up pages and loads will be cheaper / faster ● Content Expiry ● Third Party Assets: Like buttons, Google Fonts, Analytics, Hubspot, etc.
  • 10. Things to fix: Image Sizing ● Images can be too big. Eg. a 72x72 pixel icon could actually use a 1400x800 image. Sometimes, this will be because of problems with planning. Sometimes, a plugin will fail you and request and image that is too big to be optimal. ● Images can be good un-optimized. Some images have more colour depth than they need. The GTMetrix report will generate optimized images for you. ● Image format choices. Know the difference between GIFs (or is that GIF?), JPEGs, PNGs, SVGs and bitmaps. Use the ideal image for the role in the presentation.
  • 11. Things to fix: Image Sprites ● One Key to Google’s success: CSS Sprites ● Take a larger image that contain multiple elements. ● By stacking all of these elements into one image, it replaces what could be 20 to 50 file downloads. ● The single file may be much more massive, but this creates a win in the download and search time. ● Use CSS to show off small elements of the large image. Use the image region as the background for the element.
  • 12. Things to fix: JavaScript Placement ● The Header Is the best (except when it isn’t) When Javascript code goes into the header, that code executes best. It will block the display of content until the Javascript fully executes. From an end-user perspective, this is horrible. They will be left with a white screen for much long than is ideal ● Put some stuff into the Footer. Some code can always go into the footer: analytics code, helper code, code relevant to the lower sections of the page (eg. a dynamic footer). ● Handy plugins. [LIST THE OKAY TO GOOD SCRIPT TO FOOTER PLUGINS]
  • 13. Things to fix: Compression & GZip ● File downloads are a big time suck. ● Fewer files to request and smaller files are key. ● Each plugin and theme is likely to introduce several CSS and JS files apiece. This can quickly add to upto 20+ CSS and 20+ Javascript file requests. ● Plugins like AutoOptimize can consolidate the CSS into fewer files; and it can do the same with JavaScript. ● Almost every web server is capable of serving out files compressed with GZip. Almost every web browser is capable of decoding GZipped files.
  • 14. Things to fix: Code Density ● As theme developers get more clever, themes get larger. ● The example site, The Rebuild ○ It uses 6.65 megabytes of HTML, JS, CSS and images to deliver 468 words of content and text. ○ As raw text, those words would be something like 3,000 bytes of data. ○ Take the same ratio of bulky code and apply it to War & Peace. It would be take 1.4 gigabytes of formatting to present that 600 kilobytes of text. ● Make sure your code is lean, legible and easy to process-- both for new browsers, older browsers and IE….
  • 15. Things to fix: Server Side Caching ● Server Caching: ○ Store complex output (eg. leaderboards, lists of recent posts, stats). ○ Optimize code on the server before it is shipped to the client. ○ Deploy a plugin like W3 Total Cache, WP Cache or [OTHER?] ● Keep-Alive ○ Time is lost when some browsers reacquire the path to your server with each file request. By tweaking the server’s Keep Alive, you can keep that connection active. ● Content Delivery Networks (CDNs) ○ Use a CDN to stow and deliver some of the content. ○ A CDN can take the pressure off of the server. A CDN can deliver content from a closer server-- closer to the end client.
  • 16. Things to fix: Client Side Caching ● Caching takes two forms: browser side and server side. ● Client side Caching: ○ Make content cacheable. WordPress will put Query strings onto the tail end of some assets and change that string with each load to give you a new fresh and expensive load. ○ Change the Expiry date (it’s a meta data setting in the served asssets) to push it days or even months into the future. Keep your assets on the client side as much as is practical.
  • 17. Things to fix: Third Party Assets ● Easy to deploy third party code-- Instagram widgets, Facebook widgets, Google Font, Click-to-chat, CRM tools-- they almost always kill performance. ● Pull as much as possible into your control. Download Google fonts and serve them from your site or your CDN. ● Deliver the content from server side generated HTML, not Javascript delivered / built code. ● Elect to leave out some of the third party assets on some pages. If performance is really important, be cautious of third party apps.
  • 18. Things to fix: Third Party Assets ● The worst thing about bad actors: they can wreck your party. I did all of these optimization, but Facebook trashed my page performance.
  • 19. The End Result ● Installed Auto-Optimize ● Installed WP Total Cache ● Added GZIP code to my site ● Cleaned up some bulky images ● Compressed CSS, JS and HTML
  • 21. Want to talk? https://shawndewolfe.com || shawn@shawndewolfe.com Twitter: dewolfe001