SlideShare a Scribd company logo
1 of 12
Speed Up
Your Site!
7 WAYS TO PUT YOUR WEBSITE ON THE FAST TRACK
#WCTO 2015 – MEAGAN HANES - @MHANES
Slides!
http://goo.gl/
AfR9YF
About Meagan
 15+ years coding websites
 Started using WordPress in 2005
 Works on sites as small as ants & as large as elephants
 Favourite Colour: Rainbow!
 Follow: @mhanes on Twitter
Why is speed important?
 User Satisfaction & Audience Building
 Slow site = unhappy users, won’t return
 Affects your PageRank
 Slow site = lower rank in Google, harder to be found
 Impacts Sales and Success of Website
 Slow site = higher abandonment rates, marketing dollars wasted
 And many, many more reasons why…
 Like bragging rights!!
Recipe: Speed Up Pie
Serves One Website
Theme
Choice
Plugins
File
Optimization
Image Optimization
Caching
CDNs
Database
Cleanup
Theme Choice
Pretty, but at what cost?
 Not all themes are created equal!
 Twenty Fifteen: 328KB, 13 files, 0.6s
 Premium Themes: 850KB – 2.5MB, 40+ files, 1.5-3.0s
 More features + plugins = more bloat
 Be specific with your theme needs!
 What can be done via plugins or functions.php?
 Use a fast framework, or try a different theme
 Measure, measure, measure!
 GTMetrix, Pingdom, Webpagetest
Plugins
More plugins, more problems
 Each plugin you use adds overhead to your site.
 Even admin-only plugins!
 Get Data: P3 (Plugin Performance Profiler)
 Don’t need it? Deactivate and delete it!
 Add simple plugin functionality to functions.php
 Turning off all comments, adding custom post types, etc
 Disable plugins on unneeded pages – Plugin
Organizer by Jeff Sterup
 May cause troubles, so test, test, test!
 Advanced Coders: You can also load plugins via a
custom taxonomy + functions.php!1
File Optimization
File this under ‘u’ for ‘useful’
 Minify CSS and JavaScript
 Remove unneeded whitespace, padding, simplify variable names
 Makes code not easily readable by humans
 BWP Minify Plugin
 Defer JavaScript
 Wait to load JS until page is loaded
 Achieve via BWP Minify or manually
 <script source=“myScript.js” defer>
 Google PageSpeed Insights = your best friend for more information
 WARNING: Back up before playing with these!
Image Optimizing
Not all of us have high speed connections!
 NEVER use images for text – unreadable by SEO!
 Use only the image dimensions you need
 Full Camera image size: 3000x2400 pixels, ~2MB
 Common web size: 640x480, ~40KB
 That’s over 50 times smaller!
 Use the correct file type for your purpose
 JPG: Rich Photos PNG: Vector/Transparency GIF: <256 Colours/Animated
 Compress the file!
 TinyPNG, TinyJPG, EZGIF
 Refer to Google’s Image Optimization Guide1
Caching
Make it once, serve it over and over!
 Serves static HTML vs dynamic database calls
 Perfect for sites where content changes rarely
 Also great when viewers won’t be logging in to see custom content
 Many premium hosts (WPEngine) do this for you!
 #1 caching plugin: WP Super Cache
 “What about Queries?”
 Transients API Query Caching1
 Query Optimization2
http://www.wpbeginner.com/wp-tutorials/speed-up-
your-wordpress-by-caching-custom-queries-using-
transients-api/
CDNs
No, it doesn’t stand for Canadian ;)
 Deliver files from server closest to viewer
 You wouldn’t order a pizza from another province, right?
 Saves connection time, network hops
 Distributes load when one server is overwhelmed
 Best for when concurrent users, server stress is your bottleneck
 Use them if it makes sense!
 CloudFlare (free for basic accounts)
 MaxCDN (what the pros use)
Database Cleanup
Oh yay, Spring Cleaning time!
 More records = more time spent combing through them
 Many are of no actual value:
 Spam and unapproved comments
 Old Page + Post Revisions
 Items trashed but not purged
 Leftover cruft from deleted plugins
 Solution: WP-Optimize (https://wordpress.org/plugins/wp-optimize/)
 Feeling brave? Play with phpMyAdmin!
 WARNING: BACK UP FIRST!!
 Don’t say I didn’t warn you.
Warp Speed, Captain!
 Many factors influence site speed
 Measure, Report, Improve!
 Any step forward is a good step 
 Questions? Ideas?
 Slides: http://goo.gl/AfR9YF
 @mhanes

More Related Content

Viewers also liked

Using Actions and Filters in WordPress to Make a Plugin Your Own
Using Actions and Filters in WordPress to Make a Plugin Your OwnUsing Actions and Filters in WordPress to Make a Plugin Your Own
Using Actions and Filters in WordPress to Make a Plugin Your OwnBrian Hogg
 
Here Be Dragons - Debugging WordPress
Here Be Dragons - Debugging WordPressHere Be Dragons - Debugging WordPress
Here Be Dragons - Debugging WordPressRami Sayar
 
Systematic Unit Testing
Systematic Unit TestingSystematic Unit Testing
Systematic Unit Testingscotchfield
 
Community Consultation Creates Compelling Content
Community Consultation Creates Compelling Content  Community Consultation Creates Compelling Content
Community Consultation Creates Compelling Content Christine Pollock
 
You have 2 hands Toronto
You have 2 hands TorontoYou have 2 hands Toronto
You have 2 hands TorontoShayda Torabi
 
Speeding up your WordPress Site - WordCamp Toronto 2015
Speeding up your WordPress Site - WordCamp Toronto 2015Speeding up your WordPress Site - WordCamp Toronto 2015
Speeding up your WordPress Site - WordCamp Toronto 2015Alan Lok
 
Writing Secure Code for WordPress
Writing Secure Code for WordPressWriting Secure Code for WordPress
Writing Secure Code for WordPressShawn Hooper
 
Best Friend || Worst Enemy: WordPress Multisite
Best Friend || Worst Enemy: WordPress MultisiteBest Friend || Worst Enemy: WordPress Multisite
Best Friend || Worst Enemy: WordPress MultisiteTaylor McCaslin
 
Delightful Design with the Kano Model (WordCamp Toronto 2015)
Delightful Design with the Kano Model (WordCamp Toronto 2015)Delightful Design with the Kano Model (WordCamp Toronto 2015)
Delightful Design with the Kano Model (WordCamp Toronto 2015)Jesse Emmanuel Rosario
 
How to use CSS3 in WordPress
How to use CSS3 in WordPressHow to use CSS3 in WordPress
How to use CSS3 in WordPressSuzette Franck
 
Multilingual content with WordPress
Multilingual content with WordPressMultilingual content with WordPress
Multilingual content with WordPressDesaulniers-Simard
 
Piecing Together the WordPress Puzzle
Piecing Together the WordPress PuzzlePiecing Together the WordPress Puzzle
Piecing Together the WordPress PuzzleBusiness Vitality LLC
 
Content Doesn't Grow on Trees - Intruduction to Content Strategy
Content Doesn't Grow on Trees - Intruduction to Content StrategyContent Doesn't Grow on Trees - Intruduction to Content Strategy
Content Doesn't Grow on Trees - Intruduction to Content StrategyJamie Schmid
 
Word press development for non developers
Word press development for non developers Word press development for non developers
Word press development for non developers Jessica C. Gardner
 
How to A/B Test with WordPress: Conversions Aren’t Just for Landing Pages
How to A/B Test with WordPress: Conversions Aren’t Just for Landing PagesHow to A/B Test with WordPress: Conversions Aren’t Just for Landing Pages
How to A/B Test with WordPress: Conversions Aren’t Just for Landing PagesBrendan Sera-Shriar
 
Creating Customizer Options for Themes and Plugins
Creating Customizer Options for Themes and PluginsCreating Customizer Options for Themes and Plugins
Creating Customizer Options for Themes and PluginsR-Cubed Design Forge
 
Gaining (and Not Betraying) User Trust in WordPress eCommerce
Gaining (and Not Betraying) User Trust in WordPress eCommerceGaining (and Not Betraying) User Trust in WordPress eCommerce
Gaining (and Not Betraying) User Trust in WordPress eCommerceAndrew Wikel
 

Viewers also liked (18)

Using Actions and Filters in WordPress to Make a Plugin Your Own
Using Actions and Filters in WordPress to Make a Plugin Your OwnUsing Actions and Filters in WordPress to Make a Plugin Your Own
Using Actions and Filters in WordPress to Make a Plugin Your Own
 
Here Be Dragons - Debugging WordPress
Here Be Dragons - Debugging WordPressHere Be Dragons - Debugging WordPress
Here Be Dragons - Debugging WordPress
 
Systematic Unit Testing
Systematic Unit TestingSystematic Unit Testing
Systematic Unit Testing
 
Community Consultation Creates Compelling Content
Community Consultation Creates Compelling Content  Community Consultation Creates Compelling Content
Community Consultation Creates Compelling Content
 
You have 2 hands Toronto
You have 2 hands TorontoYou have 2 hands Toronto
You have 2 hands Toronto
 
Speeding up your WordPress Site - WordCamp Toronto 2015
Speeding up your WordPress Site - WordCamp Toronto 2015Speeding up your WordPress Site - WordCamp Toronto 2015
Speeding up your WordPress Site - WordCamp Toronto 2015
 
Writing Secure Code for WordPress
Writing Secure Code for WordPressWriting Secure Code for WordPress
Writing Secure Code for WordPress
 
Managed WordPress Demystified
Managed WordPress DemystifiedManaged WordPress Demystified
Managed WordPress Demystified
 
Best Friend || Worst Enemy: WordPress Multisite
Best Friend || Worst Enemy: WordPress MultisiteBest Friend || Worst Enemy: WordPress Multisite
Best Friend || Worst Enemy: WordPress Multisite
 
Delightful Design with the Kano Model (WordCamp Toronto 2015)
Delightful Design with the Kano Model (WordCamp Toronto 2015)Delightful Design with the Kano Model (WordCamp Toronto 2015)
Delightful Design with the Kano Model (WordCamp Toronto 2015)
 
How to use CSS3 in WordPress
How to use CSS3 in WordPressHow to use CSS3 in WordPress
How to use CSS3 in WordPress
 
Multilingual content with WordPress
Multilingual content with WordPressMultilingual content with WordPress
Multilingual content with WordPress
 
Piecing Together the WordPress Puzzle
Piecing Together the WordPress PuzzlePiecing Together the WordPress Puzzle
Piecing Together the WordPress Puzzle
 
Content Doesn't Grow on Trees - Intruduction to Content Strategy
Content Doesn't Grow on Trees - Intruduction to Content StrategyContent Doesn't Grow on Trees - Intruduction to Content Strategy
Content Doesn't Grow on Trees - Intruduction to Content Strategy
 
Word press development for non developers
Word press development for non developers Word press development for non developers
Word press development for non developers
 
How to A/B Test with WordPress: Conversions Aren’t Just for Landing Pages
How to A/B Test with WordPress: Conversions Aren’t Just for Landing PagesHow to A/B Test with WordPress: Conversions Aren’t Just for Landing Pages
How to A/B Test with WordPress: Conversions Aren’t Just for Landing Pages
 
Creating Customizer Options for Themes and Plugins
Creating Customizer Options for Themes and PluginsCreating Customizer Options for Themes and Plugins
Creating Customizer Options for Themes and Plugins
 
Gaining (and Not Betraying) User Trust in WordPress eCommerce
Gaining (and Not Betraying) User Trust in WordPress eCommerceGaining (and Not Betraying) User Trust in WordPress eCommerce
Gaining (and Not Betraying) User Trust in WordPress eCommerce
 

More from Meagan Hanes

Update Smart: Use a Staging Site!
Update Smart: Use a Staging Site!Update Smart: Use a Staging Site!
Update Smart: Use a Staging Site!Meagan Hanes
 
Update Smart: Use a staging site!
Update Smart: Use a staging site!Update Smart: Use a staging site!
Update Smart: Use a staging site!Meagan Hanes
 
Finding Useful Plugins: How To Extend WordPress Past a Simple Blog
Finding Useful Plugins: How To Extend WordPress Past a Simple BlogFinding Useful Plugins: How To Extend WordPress Past a Simple Blog
Finding Useful Plugins: How To Extend WordPress Past a Simple BlogMeagan Hanes
 
To The Word And Beyond! Extending WordPress Past a Simple Blog
To The Word And Beyond! Extending WordPress Past a Simple BlogTo The Word And Beyond! Extending WordPress Past a Simple Blog
To The Word And Beyond! Extending WordPress Past a Simple BlogMeagan Hanes
 
Giving back to WordPress - no code needed!
Giving back to WordPress - no code needed!Giving back to WordPress - no code needed!
Giving back to WordPress - no code needed!Meagan Hanes
 
WordPress Site Management - Keeping Your Creation Happy, Healthy and Secure
WordPress Site Management - Keeping Your Creation Happy, Healthy and SecureWordPress Site Management - Keeping Your Creation Happy, Healthy and Secure
WordPress Site Management - Keeping Your Creation Happy, Healthy and SecureMeagan Hanes
 
Speed up your site! #wcmtl2015 by Meagan Hanes
Speed up your site! #wcmtl2015 by Meagan HanesSpeed up your site! #wcmtl2015 by Meagan Hanes
Speed up your site! #wcmtl2015 by Meagan HanesMeagan Hanes
 
To The Word And Beyond! Extending WordPress Past a Simple Blog
To The Word And Beyond! Extending WordPress Past a Simple BlogTo The Word And Beyond! Extending WordPress Past a Simple Blog
To The Word And Beyond! Extending WordPress Past a Simple BlogMeagan Hanes
 
WCO2014 - To The Word And Beyond!
WCO2014 - To The Word And Beyond!WCO2014 - To The Word And Beyond!
WCO2014 - To The Word And Beyond!Meagan Hanes
 
#WCTO2013 - DIY or Have It Made? Here's How to Decide!
#WCTO2013 - DIY or Have It Made? Here's How to Decide!#WCTO2013 - DIY or Have It Made? Here's How to Decide!
#WCTO2013 - DIY or Have It Made? Here's How to Decide!Meagan Hanes
 

More from Meagan Hanes (11)

Update Smart: Use a Staging Site!
Update Smart: Use a Staging Site!Update Smart: Use a Staging Site!
Update Smart: Use a Staging Site!
 
Update Smart: Use a staging site!
Update Smart: Use a staging site!Update Smart: Use a staging site!
Update Smart: Use a staging site!
 
Finding Useful Plugins: How To Extend WordPress Past a Simple Blog
Finding Useful Plugins: How To Extend WordPress Past a Simple BlogFinding Useful Plugins: How To Extend WordPress Past a Simple Blog
Finding Useful Plugins: How To Extend WordPress Past a Simple Blog
 
To The Word And Beyond! Extending WordPress Past a Simple Blog
To The Word And Beyond! Extending WordPress Past a Simple BlogTo The Word And Beyond! Extending WordPress Past a Simple Blog
To The Word And Beyond! Extending WordPress Past a Simple Blog
 
Giving back to WordPress - no code needed!
Giving back to WordPress - no code needed!Giving back to WordPress - no code needed!
Giving back to WordPress - no code needed!
 
WordPress Site Management - Keeping Your Creation Happy, Healthy and Secure
WordPress Site Management - Keeping Your Creation Happy, Healthy and SecureWordPress Site Management - Keeping Your Creation Happy, Healthy and Secure
WordPress Site Management - Keeping Your Creation Happy, Healthy and Secure
 
Speed up your site! #wcmtl2015 by Meagan Hanes
Speed up your site! #wcmtl2015 by Meagan HanesSpeed up your site! #wcmtl2015 by Meagan Hanes
Speed up your site! #wcmtl2015 by Meagan Hanes
 
To The Word And Beyond! Extending WordPress Past a Simple Blog
To The Word And Beyond! Extending WordPress Past a Simple BlogTo The Word And Beyond! Extending WordPress Past a Simple Blog
To The Word And Beyond! Extending WordPress Past a Simple Blog
 
WCO2014 - To The Word And Beyond!
WCO2014 - To The Word And Beyond!WCO2014 - To The Word And Beyond!
WCO2014 - To The Word And Beyond!
 
#WCTO2013 - DIY or Have It Made? Here's How to Decide!
#WCTO2013 - DIY or Have It Made? Here's How to Decide!#WCTO2013 - DIY or Have It Made? Here's How to Decide!
#WCTO2013 - DIY or Have It Made? Here's How to Decide!
 
The ABCs of HTML
The ABCs of HTMLThe ABCs of HTML
The ABCs of HTML
 

Recently uploaded

SCM Symposium PPT Format Customer loyalty is predi
SCM Symposium PPT Format Customer loyalty is prediSCM Symposium PPT Format Customer loyalty is predi
SCM Symposium PPT Format Customer loyalty is predieusebiomeyer
 
Blepharitis inflammation of eyelid symptoms cause everything included along w...
Blepharitis inflammation of eyelid symptoms cause everything included along w...Blepharitis inflammation of eyelid symptoms cause everything included along w...
Blepharitis inflammation of eyelid symptoms cause everything included along w...Excelmac1
 
Call Girls South Delhi Delhi reach out to us at ☎ 9711199012
Call Girls South Delhi Delhi reach out to us at ☎ 9711199012Call Girls South Delhi Delhi reach out to us at ☎ 9711199012
Call Girls South Delhi Delhi reach out to us at ☎ 9711199012rehmti665
 
Film cover research (1).pptxsdasdasdasdasdasa
Film cover research (1).pptxsdasdasdasdasdasaFilm cover research (1).pptxsdasdasdasdasdasa
Film cover research (1).pptxsdasdasdasdasdasa494f574xmv
 
定制(UAL学位证)英国伦敦艺术大学毕业证成绩单原版一比一
定制(UAL学位证)英国伦敦艺术大学毕业证成绩单原版一比一定制(UAL学位证)英国伦敦艺术大学毕业证成绩单原版一比一
定制(UAL学位证)英国伦敦艺术大学毕业证成绩单原版一比一Fs
 
办理(UofR毕业证书)罗切斯特大学毕业证成绩单原版一比一
办理(UofR毕业证书)罗切斯特大学毕业证成绩单原版一比一办理(UofR毕业证书)罗切斯特大学毕业证成绩单原版一比一
办理(UofR毕业证书)罗切斯特大学毕业证成绩单原版一比一z xss
 
Elevate Your Business with Our IT Expertise in New Orleans
Elevate Your Business with Our IT Expertise in New OrleansElevate Your Business with Our IT Expertise in New Orleans
Elevate Your Business with Our IT Expertise in New Orleanscorenetworkseo
 
PHP-based rendering of TYPO3 Documentation
PHP-based rendering of TYPO3 DocumentationPHP-based rendering of TYPO3 Documentation
PHP-based rendering of TYPO3 DocumentationLinaWolf1
 
定制(Management毕业证书)新加坡管理大学毕业证成绩单原版一比一
定制(Management毕业证书)新加坡管理大学毕业证成绩单原版一比一定制(Management毕业证书)新加坡管理大学毕业证成绩单原版一比一
定制(Management毕业证书)新加坡管理大学毕业证成绩单原版一比一Fs
 
Call Girls In The Ocean Pearl Retreat Hotel New Delhi 9873777170
Call Girls In The Ocean Pearl Retreat Hotel New Delhi 9873777170Call Girls In The Ocean Pearl Retreat Hotel New Delhi 9873777170
Call Girls In The Ocean Pearl Retreat Hotel New Delhi 9873777170Sonam Pathan
 
定制(Lincoln毕业证书)新西兰林肯大学毕业证成绩单原版一比一
定制(Lincoln毕业证书)新西兰林肯大学毕业证成绩单原版一比一定制(Lincoln毕业证书)新西兰林肯大学毕业证成绩单原版一比一
定制(Lincoln毕业证书)新西兰林肯大学毕业证成绩单原版一比一Fs
 
Packaging the Monolith - PHP Tek 2024 (Breaking it down one bite at a time)
Packaging the Monolith - PHP Tek 2024 (Breaking it down one bite at a time)Packaging the Monolith - PHP Tek 2024 (Breaking it down one bite at a time)
Packaging the Monolith - PHP Tek 2024 (Breaking it down one bite at a time)Dana Luther
 
Magic exist by Marta Loveguard - presentation.pptx
Magic exist by Marta Loveguard - presentation.pptxMagic exist by Marta Loveguard - presentation.pptx
Magic exist by Marta Loveguard - presentation.pptxMartaLoveguard
 
Call Girls Near The Suryaa Hotel New Delhi 9873777170
Call Girls Near The Suryaa Hotel New Delhi 9873777170Call Girls Near The Suryaa Hotel New Delhi 9873777170
Call Girls Near The Suryaa Hotel New Delhi 9873777170Sonam Pathan
 
Top 10 Interactive Website Design Trends in 2024.pptx
Top 10 Interactive Website Design Trends in 2024.pptxTop 10 Interactive Website Design Trends in 2024.pptx
Top 10 Interactive Website Design Trends in 2024.pptxDyna Gilbert
 
Q4-1-Illustrating-Hypothesis-Testing.pptx
Q4-1-Illustrating-Hypothesis-Testing.pptxQ4-1-Illustrating-Hypothesis-Testing.pptx
Q4-1-Illustrating-Hypothesis-Testing.pptxeditsforyah
 
A Good Girl's Guide to Murder (A Good Girl's Guide to Murder, #1)
A Good Girl's Guide to Murder (A Good Girl's Guide to Murder, #1)A Good Girl's Guide to Murder (A Good Girl's Guide to Murder, #1)
A Good Girl's Guide to Murder (A Good Girl's Guide to Murder, #1)Christopher H Felton
 
Contact Rya Baby for Call Girls New Delhi
Contact Rya Baby for Call Girls New DelhiContact Rya Baby for Call Girls New Delhi
Contact Rya Baby for Call Girls New Delhimiss dipika
 
『澳洲文凭』买詹姆士库克大学毕业证书成绩单办理澳洲JCU文凭学位证书
『澳洲文凭』买詹姆士库克大学毕业证书成绩单办理澳洲JCU文凭学位证书『澳洲文凭』买詹姆士库克大学毕业证书成绩单办理澳洲JCU文凭学位证书
『澳洲文凭』买詹姆士库克大学毕业证书成绩单办理澳洲JCU文凭学位证书rnrncn29
 

Recently uploaded (20)

SCM Symposium PPT Format Customer loyalty is predi
SCM Symposium PPT Format Customer loyalty is prediSCM Symposium PPT Format Customer loyalty is predi
SCM Symposium PPT Format Customer loyalty is predi
 
Blepharitis inflammation of eyelid symptoms cause everything included along w...
Blepharitis inflammation of eyelid symptoms cause everything included along w...Blepharitis inflammation of eyelid symptoms cause everything included along w...
Blepharitis inflammation of eyelid symptoms cause everything included along w...
 
Call Girls South Delhi Delhi reach out to us at ☎ 9711199012
Call Girls South Delhi Delhi reach out to us at ☎ 9711199012Call Girls South Delhi Delhi reach out to us at ☎ 9711199012
Call Girls South Delhi Delhi reach out to us at ☎ 9711199012
 
Film cover research (1).pptxsdasdasdasdasdasa
Film cover research (1).pptxsdasdasdasdasdasaFilm cover research (1).pptxsdasdasdasdasdasa
Film cover research (1).pptxsdasdasdasdasdasa
 
定制(UAL学位证)英国伦敦艺术大学毕业证成绩单原版一比一
定制(UAL学位证)英国伦敦艺术大学毕业证成绩单原版一比一定制(UAL学位证)英国伦敦艺术大学毕业证成绩单原版一比一
定制(UAL学位证)英国伦敦艺术大学毕业证成绩单原版一比一
 
办理(UofR毕业证书)罗切斯特大学毕业证成绩单原版一比一
办理(UofR毕业证书)罗切斯特大学毕业证成绩单原版一比一办理(UofR毕业证书)罗切斯特大学毕业证成绩单原版一比一
办理(UofR毕业证书)罗切斯特大学毕业证成绩单原版一比一
 
Elevate Your Business with Our IT Expertise in New Orleans
Elevate Your Business with Our IT Expertise in New OrleansElevate Your Business with Our IT Expertise in New Orleans
Elevate Your Business with Our IT Expertise in New Orleans
 
PHP-based rendering of TYPO3 Documentation
PHP-based rendering of TYPO3 DocumentationPHP-based rendering of TYPO3 Documentation
PHP-based rendering of TYPO3 Documentation
 
定制(Management毕业证书)新加坡管理大学毕业证成绩单原版一比一
定制(Management毕业证书)新加坡管理大学毕业证成绩单原版一比一定制(Management毕业证书)新加坡管理大学毕业证成绩单原版一比一
定制(Management毕业证书)新加坡管理大学毕业证成绩单原版一比一
 
Hot Sexy call girls in Rk Puram 🔝 9953056974 🔝 Delhi escort Service
Hot Sexy call girls in  Rk Puram 🔝 9953056974 🔝 Delhi escort ServiceHot Sexy call girls in  Rk Puram 🔝 9953056974 🔝 Delhi escort Service
Hot Sexy call girls in Rk Puram 🔝 9953056974 🔝 Delhi escort Service
 
Call Girls In The Ocean Pearl Retreat Hotel New Delhi 9873777170
Call Girls In The Ocean Pearl Retreat Hotel New Delhi 9873777170Call Girls In The Ocean Pearl Retreat Hotel New Delhi 9873777170
Call Girls In The Ocean Pearl Retreat Hotel New Delhi 9873777170
 
定制(Lincoln毕业证书)新西兰林肯大学毕业证成绩单原版一比一
定制(Lincoln毕业证书)新西兰林肯大学毕业证成绩单原版一比一定制(Lincoln毕业证书)新西兰林肯大学毕业证成绩单原版一比一
定制(Lincoln毕业证书)新西兰林肯大学毕业证成绩单原版一比一
 
Packaging the Monolith - PHP Tek 2024 (Breaking it down one bite at a time)
Packaging the Monolith - PHP Tek 2024 (Breaking it down one bite at a time)Packaging the Monolith - PHP Tek 2024 (Breaking it down one bite at a time)
Packaging the Monolith - PHP Tek 2024 (Breaking it down one bite at a time)
 
Magic exist by Marta Loveguard - presentation.pptx
Magic exist by Marta Loveguard - presentation.pptxMagic exist by Marta Loveguard - presentation.pptx
Magic exist by Marta Loveguard - presentation.pptx
 
Call Girls Near The Suryaa Hotel New Delhi 9873777170
Call Girls Near The Suryaa Hotel New Delhi 9873777170Call Girls Near The Suryaa Hotel New Delhi 9873777170
Call Girls Near The Suryaa Hotel New Delhi 9873777170
 
Top 10 Interactive Website Design Trends in 2024.pptx
Top 10 Interactive Website Design Trends in 2024.pptxTop 10 Interactive Website Design Trends in 2024.pptx
Top 10 Interactive Website Design Trends in 2024.pptx
 
Q4-1-Illustrating-Hypothesis-Testing.pptx
Q4-1-Illustrating-Hypothesis-Testing.pptxQ4-1-Illustrating-Hypothesis-Testing.pptx
Q4-1-Illustrating-Hypothesis-Testing.pptx
 
A Good Girl's Guide to Murder (A Good Girl's Guide to Murder, #1)
A Good Girl's Guide to Murder (A Good Girl's Guide to Murder, #1)A Good Girl's Guide to Murder (A Good Girl's Guide to Murder, #1)
A Good Girl's Guide to Murder (A Good Girl's Guide to Murder, #1)
 
Contact Rya Baby for Call Girls New Delhi
Contact Rya Baby for Call Girls New DelhiContact Rya Baby for Call Girls New Delhi
Contact Rya Baby for Call Girls New Delhi
 
『澳洲文凭』买詹姆士库克大学毕业证书成绩单办理澳洲JCU文凭学位证书
『澳洲文凭』买詹姆士库克大学毕业证书成绩单办理澳洲JCU文凭学位证书『澳洲文凭』买詹姆士库克大学毕业证书成绩单办理澳洲JCU文凭学位证书
『澳洲文凭』买詹姆士库克大学毕业证书成绩单办理澳洲JCU文凭学位证书
 

Speed up your site! #WCTO2015

  • 1. Speed Up Your Site! 7 WAYS TO PUT YOUR WEBSITE ON THE FAST TRACK #WCTO 2015 – MEAGAN HANES - @MHANES Slides! http://goo.gl/ AfR9YF
  • 2. About Meagan  15+ years coding websites  Started using WordPress in 2005  Works on sites as small as ants & as large as elephants  Favourite Colour: Rainbow!  Follow: @mhanes on Twitter
  • 3. Why is speed important?  User Satisfaction & Audience Building  Slow site = unhappy users, won’t return  Affects your PageRank  Slow site = lower rank in Google, harder to be found  Impacts Sales and Success of Website  Slow site = higher abandonment rates, marketing dollars wasted  And many, many more reasons why…  Like bragging rights!!
  • 4. Recipe: Speed Up Pie Serves One Website Theme Choice Plugins File Optimization Image Optimization Caching CDNs Database Cleanup
  • 5. Theme Choice Pretty, but at what cost?  Not all themes are created equal!  Twenty Fifteen: 328KB, 13 files, 0.6s  Premium Themes: 850KB – 2.5MB, 40+ files, 1.5-3.0s  More features + plugins = more bloat  Be specific with your theme needs!  What can be done via plugins or functions.php?  Use a fast framework, or try a different theme  Measure, measure, measure!  GTMetrix, Pingdom, Webpagetest
  • 6. Plugins More plugins, more problems  Each plugin you use adds overhead to your site.  Even admin-only plugins!  Get Data: P3 (Plugin Performance Profiler)  Don’t need it? Deactivate and delete it!  Add simple plugin functionality to functions.php  Turning off all comments, adding custom post types, etc  Disable plugins on unneeded pages – Plugin Organizer by Jeff Sterup  May cause troubles, so test, test, test!  Advanced Coders: You can also load plugins via a custom taxonomy + functions.php!1
  • 7. File Optimization File this under ‘u’ for ‘useful’  Minify CSS and JavaScript  Remove unneeded whitespace, padding, simplify variable names  Makes code not easily readable by humans  BWP Minify Plugin  Defer JavaScript  Wait to load JS until page is loaded  Achieve via BWP Minify or manually  <script source=“myScript.js” defer>  Google PageSpeed Insights = your best friend for more information  WARNING: Back up before playing with these!
  • 8. Image Optimizing Not all of us have high speed connections!  NEVER use images for text – unreadable by SEO!  Use only the image dimensions you need  Full Camera image size: 3000x2400 pixels, ~2MB  Common web size: 640x480, ~40KB  That’s over 50 times smaller!  Use the correct file type for your purpose  JPG: Rich Photos PNG: Vector/Transparency GIF: <256 Colours/Animated  Compress the file!  TinyPNG, TinyJPG, EZGIF  Refer to Google’s Image Optimization Guide1
  • 9. Caching Make it once, serve it over and over!  Serves static HTML vs dynamic database calls  Perfect for sites where content changes rarely  Also great when viewers won’t be logging in to see custom content  Many premium hosts (WPEngine) do this for you!  #1 caching plugin: WP Super Cache  “What about Queries?”  Transients API Query Caching1  Query Optimization2 http://www.wpbeginner.com/wp-tutorials/speed-up- your-wordpress-by-caching-custom-queries-using- transients-api/
  • 10. CDNs No, it doesn’t stand for Canadian ;)  Deliver files from server closest to viewer  You wouldn’t order a pizza from another province, right?  Saves connection time, network hops  Distributes load when one server is overwhelmed  Best for when concurrent users, server stress is your bottleneck  Use them if it makes sense!  CloudFlare (free for basic accounts)  MaxCDN (what the pros use)
  • 11. Database Cleanup Oh yay, Spring Cleaning time!  More records = more time spent combing through them  Many are of no actual value:  Spam and unapproved comments  Old Page + Post Revisions  Items trashed but not purged  Leftover cruft from deleted plugins  Solution: WP-Optimize (https://wordpress.org/plugins/wp-optimize/)  Feeling brave? Play with phpMyAdmin!  WARNING: BACK UP FIRST!!  Don’t say I didn’t warn you.
  • 12. Warp Speed, Captain!  Many factors influence site speed  Measure, Report, Improve!  Any step forward is a good step   Questions? Ideas?  Slides: http://goo.gl/AfR9YF  @mhanes