SlideShare a Scribd company logo
3 Hacks to Improve
WordPress Performance
rfstud.io
Presented at
Hassan Raza
UI/UX Designer, Growth Hacker
CEO/Co-Founder, RFSTUDIO
Co-Founder, Workvibez
@thecraft
y
Overview
• What makes a Wordpress site slow?
• 3 Performance Hacks
• Redis as MySQL Alternative?
• Linear Scaling
1 Second Delay
▼ 7 % Loss in Conversions
▼ 11 % Fewer Page Views
▼ 16 % Customer Experience
Every Second Counts!
Tools of Choice
Google PageSpeed
GTMatrix
Lighthouse
Firebug (Firefox)
Step-1 Diagnose
Diagnosis
What makes a Wordpress site slow?
What Makes a WP Site Slow?
Backend:
• Poor Hosting
• Bloated Theme/ Plugin
• Overloaded Server
• Complicated Queries
What Makes a WP Site Slow?
Backend:
• Poor Hosting
• Bloated Theme/ Plugin
• Overloaded Server
• Complicated Queries
Frontend:
• Large File Sizes
• Many Files (Total
Requests)
• Slow Delivery
• Caching & Complex Queries
• Image/CSS/JS Compression
• Theme/Plugin/Query Audits
Performance Hack 1
• Caching & Complex Queries
• Image/CSS/JS Compression
• Theme/Plugin/Query Audits
Performance Hack 1
30 to 50 elements
concurrent browser
connections
0 to 1.5 MB in size
Less is more
• Caching & Complex Queries
• Image/CSS/JS Compression
• Theme/Plugin/Query Audits
Performance Hack 1
Compress Images
CSS Sprites
Minify JS/CSS Files
• Caching & Complex Queries
• Image/CSS/JS Compression
• Theme/Plugin/Query Audits
Performance Hack 1
Too many Queries
Other Domain Calls
Conflicts/Multiple Loads
Choosing your Host Wisely
Why consider CDNs?
More RAM & CPU
Not Always a Faster Site
Performance Hack 2
Performance Hack 3
GZIP and .htaccess
Disable Entity Tags
MOD_EXPIRES
Redis vs Memcached
Compress Data Sent from Server
AddOutputFilterByType DEFLATE text/plain
AddOutputFilterByType DEFLATE text/html
AddOutputFilterByType DEFLATE text/xml
AddOutputFilterByType DEFLATE text/css
AddOutputFilterByType DEFLATE application/xml
AddOutputFilterByType DEFLATE application/xhtml+xml
AddOutputFilterByType DEFLATE application/rss+xml
AddOutputFilterByType DEFLATE application/javascript
AddOutputFilterByType DEFLATE application/x-javascript
Performance Hack 3
GZIP and .htaccess
Disable Entity Tags
MOD_EXPIRES
Redis vs Memcached
Browsercache items correspond to
current server version
Header unset ETag
FileETag None
Performance Hack 3
GZIP and .htaccess
Disable Entity Tags
MOD_EXPIRES
Redis vs Memcached
Caching Options
Memcached (In-Proc Cache/Near Cache)
Redis OSS (In-Memory Object Caching)
WP-Rocket (Premium Plugin)
Varnish (In Memory Session Store)
Wordfence (Premium Plugin)
Object Cache
Vs
Session Cache
Performance Plugin Options
Humming Bird
LiteSpeed Cache
Auto Optimize
W3 Cache
WP-Rocket (Premium)
Plugins can only improve performance by 20-30%
Rest work still remains with Themes Optimization
and best practices stated before.
Performance Plugin Options
Same Bulky WordPress Installation with No Other Optimizations than that of Plugins
Localhost, PHP 5.6, MySQL Database, Mozilla Browser
Sr. NoConfigs Load Time
Finished
Time Performance Max= 100
PWA Score
1Default 4.84s 5.18s 1 15
2Humming Bird 3.65s 4.44s 1 15
3LiteSpeed Cache 4.75s 10.12s 0 15
4Autoptimize 4.22s 4.82s 1 15
5W3 Cache 4.20s 4.61s 31 15
6WP Rocket 3.21s 3.72s 3 15
(C) Hassan Raza
PHP 7 Performance
This graph measures the number of hits each site was able to handle
within 300 seconds.
Reference: wpengine.com
Can we go any Faster?
How about in-memory Data store?
Redis as MySQL Alternative
Use Redis as main database with persistence over Flash
What’s the big Idea?
1- WP-redis (Consider Replacing MySQL)
2- Optimized Dockers
3- Customized Hosting (CDN Powered)
Contact Me:
hassan@rfstud.io
Twitter: @hasanphd
How fast can you go?
Linearly Scale Now!

More Related Content

What's hot

Sanjip Shah: Internationalizing and Localizing WordPress Themes
Sanjip Shah: Internationalizing and Localizing  WordPress ThemesSanjip Shah: Internationalizing and Localizing  WordPress Themes
Sanjip Shah: Internationalizing and Localizing WordPress Themes
wpnepal
 
Maine WordPress Meetup JSON REST API, 3/16/2016
Maine WordPress Meetup JSON REST API, 3/16/2016Maine WordPress Meetup JSON REST API, 3/16/2016
Maine WordPress Meetup JSON REST API, 3/16/2016
Andre Gagnon
 
I Can Haz More Performanz?
I Can Haz More Performanz?I Can Haz More Performanz?
I Can Haz More Performanz?
Andy Melichar
 
Introduction to Web Development: Part 1
Introduction to Web Development: Part 1Introduction to Web Development: Part 1
Introduction to Web Development: Part 1
Bill Condo
 
Static resource-optimization using webutilities
Static resource-optimization using webutilitiesStatic resource-optimization using webutilities
Static resource-optimization using webutilities
rpatil82
 
Measuring Web Performance
Measuring Web Performance Measuring Web Performance
Measuring Web Performance
Dave Olsen
 
WordPress Server Security
WordPress Server SecurityWordPress Server Security
WordPress Server Security
Peter Baylies
 
Front End Website Optimization
Front End Website OptimizationFront End Website Optimization
Front End Website Optimization
Gerard Sychay
 
WordPress REST API v2: Overview & Exploring
WordPress REST API v2: Overview & ExploringWordPress REST API v2: Overview & Exploring
WordPress REST API v2: Overview & Exploring
Nick Pelton
 
Front-End Performance Optimizing
Front-End Performance OptimizingFront-End Performance Optimizing
Front-End Performance Optimizing
Michael Pehl
 
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
William Earnhardt
 
Fast and Easy Website Tuneups
Fast and Easy Website TuneupsFast and Easy Website Tuneups
Fast and Easy Website TuneupsJeff Wisniewski
 
High Performance - Joomla!Days NL 2009 #jd09nl
High Performance - Joomla!Days NL 2009 #jd09nlHigh Performance - Joomla!Days NL 2009 #jd09nl
High Performance - Joomla!Days NL 2009 #jd09nl
Joomla!Days Netherlands
 
Front end optimization
Front end optimizationFront end optimization
Front end optimizationAbhishek Anand
 
An extended explanation of caching
An extended explanation of cachingAn extended explanation of caching
An extended explanation of caching
Tom Cudd
 
Week 11 - Hosting and Migration
Week 11 - Hosting and MigrationWeek 11 - Hosting and Migration
Week 11 - Hosting and Migrationhenri_makembe
 
Week 9 - Introduction to Child Themes
Week 9  - Introduction to Child ThemesWeek 9  - Introduction to Child Themes
Week 9 - Introduction to Child Themeshenri_makembe
 
2010 11 pubcon_hendison-hosting
2010 11 pubcon_hendison-hosting2010 11 pubcon_hendison-hosting
2010 11 pubcon_hendison-hosting
shendison
 
Joomla 3.5: better—faster—safer
Joomla 3.5:  better—faster—saferJoomla 3.5:  better—faster—safer
Joomla 3.5: better—faster—safer
sozzled3904
 

What's hot (20)

Sanjip Shah: Internationalizing and Localizing WordPress Themes
Sanjip Shah: Internationalizing and Localizing  WordPress ThemesSanjip Shah: Internationalizing and Localizing  WordPress Themes
Sanjip Shah: Internationalizing and Localizing WordPress Themes
 
Maine WordPress Meetup JSON REST API, 3/16/2016
Maine WordPress Meetup JSON REST API, 3/16/2016Maine WordPress Meetup JSON REST API, 3/16/2016
Maine WordPress Meetup JSON REST API, 3/16/2016
 
I Can Haz More Performanz?
I Can Haz More Performanz?I Can Haz More Performanz?
I Can Haz More Performanz?
 
Web Fundamental
Web FundamentalWeb Fundamental
Web Fundamental
 
Introduction to Web Development: Part 1
Introduction to Web Development: Part 1Introduction to Web Development: Part 1
Introduction to Web Development: Part 1
 
Static resource-optimization using webutilities
Static resource-optimization using webutilitiesStatic resource-optimization using webutilities
Static resource-optimization using webutilities
 
Measuring Web Performance
Measuring Web Performance Measuring Web Performance
Measuring Web Performance
 
WordPress Server Security
WordPress Server SecurityWordPress Server Security
WordPress Server Security
 
Front End Website Optimization
Front End Website OptimizationFront End Website Optimization
Front End Website Optimization
 
WordPress REST API v2: Overview & Exploring
WordPress REST API v2: Overview & ExploringWordPress REST API v2: Overview & Exploring
WordPress REST API v2: Overview & Exploring
 
Front-End Performance Optimizing
Front-End Performance OptimizingFront-End Performance Optimizing
Front-End Performance Optimizing
 
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
 
Fast and Easy Website Tuneups
Fast and Easy Website TuneupsFast and Easy Website Tuneups
Fast and Easy Website Tuneups
 
High Performance - Joomla!Days NL 2009 #jd09nl
High Performance - Joomla!Days NL 2009 #jd09nlHigh Performance - Joomla!Days NL 2009 #jd09nl
High Performance - Joomla!Days NL 2009 #jd09nl
 
Front end optimization
Front end optimizationFront end optimization
Front end optimization
 
An extended explanation of caching
An extended explanation of cachingAn extended explanation of caching
An extended explanation of caching
 
Week 11 - Hosting and Migration
Week 11 - Hosting and MigrationWeek 11 - Hosting and Migration
Week 11 - Hosting and Migration
 
Week 9 - Introduction to Child Themes
Week 9  - Introduction to Child ThemesWeek 9  - Introduction to Child Themes
Week 9 - Introduction to Child Themes
 
2010 11 pubcon_hendison-hosting
2010 11 pubcon_hendison-hosting2010 11 pubcon_hendison-hosting
2010 11 pubcon_hendison-hosting
 
Joomla 3.5: better—faster—safer
Joomla 3.5:  better—faster—saferJoomla 3.5:  better—faster—safer
Joomla 3.5: better—faster—safer
 

Similar to 3 Hacks to Improve WordPress Performance

5 critical-optimizations.v2
5 critical-optimizations.v25 critical-optimizations.v2
5 critical-optimizations.v2
Blaze Software Inc.
 
Optimizing the performance of WordPress
Optimizing the performance of WordPressOptimizing the performance of WordPress
Optimizing the performance of WordPress
Josh Highland Giese
 
Optimize wordpress
Optimize wordpressOptimize wordpress
Optimize wordpress
David Parsons
 
Front-end performances
Front-end performancesFront-end performances
Front-end performances
Smile I.T is open
 
CTU June 2011 - Things that Every ASP.NET Developer Should Know
CTU June 2011 - Things that Every ASP.NET Developer Should KnowCTU June 2011 - Things that Every ASP.NET Developer Should Know
CTU June 2011 - Things that Every ASP.NET Developer Should KnowSpiffy
 
Tips for a Faster Website
Tips for a Faster WebsiteTips for a Faster Website
Tips for a Faster WebsiteRayed Alrashed
 
Caching 101
Caching 101Caching 101
Caching 101
Andy Melichar
 
Speed up Your Joomla Site for Ultimate Performance
Speed up Your Joomla Site for Ultimate PerformanceSpeed up Your Joomla Site for Ultimate Performance
Speed up Your Joomla Site for Ultimate Performance
JoomlaDay Australia
 
Make Drupal Run Fast - increase page load speed
Make Drupal Run Fast - increase page load speedMake Drupal Run Fast - increase page load speed
Make Drupal Run Fast - increase page load speed
Andy Kucharski
 
Performance tuning of Websites
Performance tuning of WebsitesPerformance tuning of Websites
Performance tuning of Websites
muHive Technologies
 
High-Speed HTML5
High-Speed HTML5High-Speed HTML5
High-Speed HTML5
Peter Lubbers
 
SharePoint 2010 Boost your farm performance!
SharePoint 2010 Boost your farm performance!SharePoint 2010 Boost your farm performance!
SharePoint 2010 Boost your farm performance!
Brian Culver
 
Optimising Web Application Frontend
Optimising Web Application FrontendOptimising Web Application Frontend
Optimising Web Application Frontendtkramar
 
Tackling performance in the WordPress ecosystem at scale
Tackling performance in the WordPress ecosystem at scaleTackling performance in the WordPress ecosystem at scale
Tackling performance in the WordPress ecosystem at scale
Felix Arntz
 
Scaling 101
Scaling 101Scaling 101
Scaling 101
Chris Finne
 
Speed!
Speed!Speed!
Front-end optimisation & jQuery Internals
Front-end optimisation & jQuery InternalsFront-end optimisation & jQuery Internals
Front-end optimisation & jQuery InternalsArtur Cistov
 
WE18_Performance_Up.ppt
WE18_Performance_Up.pptWE18_Performance_Up.ppt
WE18_Performance_Up.pptwebhostingguy
 
How to make your site 5 times faster in 10 minutes
How to make your site 5 times faster in 10 minutesHow to make your site 5 times faster in 10 minutes
How to make your site 5 times faster in 10 minutes
Gal Baras
 

Similar to 3 Hacks to Improve WordPress Performance (20)

5 critical-optimizations.v2
5 critical-optimizations.v25 critical-optimizations.v2
5 critical-optimizations.v2
 
Optimizing the performance of WordPress
Optimizing the performance of WordPressOptimizing the performance of WordPress
Optimizing the performance of WordPress
 
Optimize wordpress
Optimize wordpressOptimize wordpress
Optimize wordpress
 
Front-end performances
Front-end performancesFront-end performances
Front-end performances
 
CTU June 2011 - Things that Every ASP.NET Developer Should Know
CTU June 2011 - Things that Every ASP.NET Developer Should KnowCTU June 2011 - Things that Every ASP.NET Developer Should Know
CTU June 2011 - Things that Every ASP.NET Developer Should Know
 
Tips for a Faster Website
Tips for a Faster WebsiteTips for a Faster Website
Tips for a Faster Website
 
Caching 101
Caching 101Caching 101
Caching 101
 
Speed up Your Joomla Site for Ultimate Performance
Speed up Your Joomla Site for Ultimate PerformanceSpeed up Your Joomla Site for Ultimate Performance
Speed up Your Joomla Site for Ultimate Performance
 
Make Drupal Run Fast - increase page load speed
Make Drupal Run Fast - increase page load speedMake Drupal Run Fast - increase page load speed
Make Drupal Run Fast - increase page load speed
 
Performance tuning of Websites
Performance tuning of WebsitesPerformance tuning of Websites
Performance tuning of Websites
 
High-Speed HTML5
High-Speed HTML5High-Speed HTML5
High-Speed HTML5
 
SharePoint 2010 Boost your farm performance!
SharePoint 2010 Boost your farm performance!SharePoint 2010 Boost your farm performance!
SharePoint 2010 Boost your farm performance!
 
Optimising Web Application Frontend
Optimising Web Application FrontendOptimising Web Application Frontend
Optimising Web Application Frontend
 
Tackling performance in the WordPress ecosystem at scale
Tackling performance in the WordPress ecosystem at scaleTackling performance in the WordPress ecosystem at scale
Tackling performance in the WordPress ecosystem at scale
 
Scaling 101 test
Scaling 101 testScaling 101 test
Scaling 101 test
 
Scaling 101
Scaling 101Scaling 101
Scaling 101
 
Speed!
Speed!Speed!
Speed!
 
Front-end optimisation & jQuery Internals
Front-end optimisation & jQuery InternalsFront-end optimisation & jQuery Internals
Front-end optimisation & jQuery Internals
 
WE18_Performance_Up.ppt
WE18_Performance_Up.pptWE18_Performance_Up.ppt
WE18_Performance_Up.ppt
 
How to make your site 5 times faster in 10 minutes
How to make your site 5 times faster in 10 minutesHow to make your site 5 times faster in 10 minutes
How to make your site 5 times faster in 10 minutes
 

Recently uploaded

Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...
Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...
Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...
Globus
 
Beyond Event Sourcing - Embracing CRUD for Wix Platform - Java.IL
Beyond Event Sourcing - Embracing CRUD for Wix Platform - Java.ILBeyond Event Sourcing - Embracing CRUD for Wix Platform - Java.IL
Beyond Event Sourcing - Embracing CRUD for Wix Platform - Java.IL
Natan Silnitsky
 
2024 RoOUG Security model for the cloud.pptx
2024 RoOUG Security model for the cloud.pptx2024 RoOUG Security model for the cloud.pptx
2024 RoOUG Security model for the cloud.pptx
Georgi Kodinov
 
OpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoam
OpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoamOpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoam
OpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoam
takuyayamamoto1800
 
Enhancing Research Orchestration Capabilities at ORNL.pdf
Enhancing Research Orchestration Capabilities at ORNL.pdfEnhancing Research Orchestration Capabilities at ORNL.pdf
Enhancing Research Orchestration Capabilities at ORNL.pdf
Globus
 
SOCRadar Research Team: Latest Activities of IntelBroker
SOCRadar Research Team: Latest Activities of IntelBrokerSOCRadar Research Team: Latest Activities of IntelBroker
SOCRadar Research Team: Latest Activities of IntelBroker
SOCRadar
 
Into the Box 2024 - Keynote Day 2 Slides.pdf
Into the Box 2024 - Keynote Day 2 Slides.pdfInto the Box 2024 - Keynote Day 2 Slides.pdf
Into the Box 2024 - Keynote Day 2 Slides.pdf
Ortus Solutions, Corp
 
Explore Modern SharePoint Templates for 2024
Explore Modern SharePoint Templates for 2024Explore Modern SharePoint Templates for 2024
Explore Modern SharePoint Templates for 2024
Sharepoint Designs
 
Multiple Your Crypto Portfolio with the Innovative Features of Advanced Crypt...
Multiple Your Crypto Portfolio with the Innovative Features of Advanced Crypt...Multiple Your Crypto Portfolio with the Innovative Features of Advanced Crypt...
Multiple Your Crypto Portfolio with the Innovative Features of Advanced Crypt...
Hivelance Technology
 
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital TransformationWSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2
 
Paketo Buildpacks : la meilleure façon de construire des images OCI? DevopsDa...
Paketo Buildpacks : la meilleure façon de construire des images OCI? DevopsDa...Paketo Buildpacks : la meilleure façon de construire des images OCI? DevopsDa...
Paketo Buildpacks : la meilleure façon de construire des images OCI? DevopsDa...
Anthony Dahanne
 
Developing Distributed High-performance Computing Capabilities of an Open Sci...
Developing Distributed High-performance Computing Capabilities of an Open Sci...Developing Distributed High-performance Computing Capabilities of an Open Sci...
Developing Distributed High-performance Computing Capabilities of an Open Sci...
Globus
 
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...
Shahin Sheidaei
 
Globus Compute Introduction - GlobusWorld 2024
Globus Compute Introduction - GlobusWorld 2024Globus Compute Introduction - GlobusWorld 2024
Globus Compute Introduction - GlobusWorld 2024
Globus
 
How to Position Your Globus Data Portal for Success Ten Good Practices
How to Position Your Globus Data Portal for Success Ten Good PracticesHow to Position Your Globus Data Portal for Success Ten Good Practices
How to Position Your Globus Data Portal for Success Ten Good Practices
Globus
 
First Steps with Globus Compute Multi-User Endpoints
First Steps with Globus Compute Multi-User EndpointsFirst Steps with Globus Compute Multi-User Endpoints
First Steps with Globus Compute Multi-User Endpoints
Globus
 
Corporate Management | Session 3 of 3 | Tendenci AMS
Corporate Management | Session 3 of 3 | Tendenci AMSCorporate Management | Session 3 of 3 | Tendenci AMS
Corporate Management | Session 3 of 3 | Tendenci AMS
Tendenci - The Open Source AMS (Association Management Software)
 
De mooiste recreatieve routes ontdekken met RouteYou en FME
De mooiste recreatieve routes ontdekken met RouteYou en FMEDe mooiste recreatieve routes ontdekken met RouteYou en FME
De mooiste recreatieve routes ontdekken met RouteYou en FME
Jelle | Nordend
 
Webinar: Salesforce Document Management 2.0 - Smarter, Faster, Better
Webinar: Salesforce Document Management 2.0 - Smarter, Faster, BetterWebinar: Salesforce Document Management 2.0 - Smarter, Faster, Better
Webinar: Salesforce Document Management 2.0 - Smarter, Faster, Better
XfilesPro
 
Prosigns: Transforming Business with Tailored Technology Solutions
Prosigns: Transforming Business with Tailored Technology SolutionsProsigns: Transforming Business with Tailored Technology Solutions
Prosigns: Transforming Business with Tailored Technology Solutions
Prosigns
 

Recently uploaded (20)

Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...
Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...
Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...
 
Beyond Event Sourcing - Embracing CRUD for Wix Platform - Java.IL
Beyond Event Sourcing - Embracing CRUD for Wix Platform - Java.ILBeyond Event Sourcing - Embracing CRUD for Wix Platform - Java.IL
Beyond Event Sourcing - Embracing CRUD for Wix Platform - Java.IL
 
2024 RoOUG Security model for the cloud.pptx
2024 RoOUG Security model for the cloud.pptx2024 RoOUG Security model for the cloud.pptx
2024 RoOUG Security model for the cloud.pptx
 
OpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoam
OpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoamOpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoam
OpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoam
 
Enhancing Research Orchestration Capabilities at ORNL.pdf
Enhancing Research Orchestration Capabilities at ORNL.pdfEnhancing Research Orchestration Capabilities at ORNL.pdf
Enhancing Research Orchestration Capabilities at ORNL.pdf
 
SOCRadar Research Team: Latest Activities of IntelBroker
SOCRadar Research Team: Latest Activities of IntelBrokerSOCRadar Research Team: Latest Activities of IntelBroker
SOCRadar Research Team: Latest Activities of IntelBroker
 
Into the Box 2024 - Keynote Day 2 Slides.pdf
Into the Box 2024 - Keynote Day 2 Slides.pdfInto the Box 2024 - Keynote Day 2 Slides.pdf
Into the Box 2024 - Keynote Day 2 Slides.pdf
 
Explore Modern SharePoint Templates for 2024
Explore Modern SharePoint Templates for 2024Explore Modern SharePoint Templates for 2024
Explore Modern SharePoint Templates for 2024
 
Multiple Your Crypto Portfolio with the Innovative Features of Advanced Crypt...
Multiple Your Crypto Portfolio with the Innovative Features of Advanced Crypt...Multiple Your Crypto Portfolio with the Innovative Features of Advanced Crypt...
Multiple Your Crypto Portfolio with the Innovative Features of Advanced Crypt...
 
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital TransformationWSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
 
Paketo Buildpacks : la meilleure façon de construire des images OCI? DevopsDa...
Paketo Buildpacks : la meilleure façon de construire des images OCI? DevopsDa...Paketo Buildpacks : la meilleure façon de construire des images OCI? DevopsDa...
Paketo Buildpacks : la meilleure façon de construire des images OCI? DevopsDa...
 
Developing Distributed High-performance Computing Capabilities of an Open Sci...
Developing Distributed High-performance Computing Capabilities of an Open Sci...Developing Distributed High-performance Computing Capabilities of an Open Sci...
Developing Distributed High-performance Computing Capabilities of an Open Sci...
 
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...
 
Globus Compute Introduction - GlobusWorld 2024
Globus Compute Introduction - GlobusWorld 2024Globus Compute Introduction - GlobusWorld 2024
Globus Compute Introduction - GlobusWorld 2024
 
How to Position Your Globus Data Portal for Success Ten Good Practices
How to Position Your Globus Data Portal for Success Ten Good PracticesHow to Position Your Globus Data Portal for Success Ten Good Practices
How to Position Your Globus Data Portal for Success Ten Good Practices
 
First Steps with Globus Compute Multi-User Endpoints
First Steps with Globus Compute Multi-User EndpointsFirst Steps with Globus Compute Multi-User Endpoints
First Steps with Globus Compute Multi-User Endpoints
 
Corporate Management | Session 3 of 3 | Tendenci AMS
Corporate Management | Session 3 of 3 | Tendenci AMSCorporate Management | Session 3 of 3 | Tendenci AMS
Corporate Management | Session 3 of 3 | Tendenci AMS
 
De mooiste recreatieve routes ontdekken met RouteYou en FME
De mooiste recreatieve routes ontdekken met RouteYou en FMEDe mooiste recreatieve routes ontdekken met RouteYou en FME
De mooiste recreatieve routes ontdekken met RouteYou en FME
 
Webinar: Salesforce Document Management 2.0 - Smarter, Faster, Better
Webinar: Salesforce Document Management 2.0 - Smarter, Faster, BetterWebinar: Salesforce Document Management 2.0 - Smarter, Faster, Better
Webinar: Salesforce Document Management 2.0 - Smarter, Faster, Better
 
Prosigns: Transforming Business with Tailored Technology Solutions
Prosigns: Transforming Business with Tailored Technology SolutionsProsigns: Transforming Business with Tailored Technology Solutions
Prosigns: Transforming Business with Tailored Technology Solutions
 

3 Hacks to Improve WordPress Performance

  • 1. 3 Hacks to Improve WordPress Performance rfstud.io Presented at
  • 2. Hassan Raza UI/UX Designer, Growth Hacker CEO/Co-Founder, RFSTUDIO Co-Founder, Workvibez
  • 3. @thecraft y Overview • What makes a Wordpress site slow? • 3 Performance Hacks • Redis as MySQL Alternative? • Linear Scaling
  • 4. 1 Second Delay ▼ 7 % Loss in Conversions ▼ 11 % Fewer Page Views ▼ 16 % Customer Experience Every Second Counts!
  • 5. Tools of Choice Google PageSpeed GTMatrix Lighthouse Firebug (Firefox) Step-1 Diagnose
  • 7. What makes a Wordpress site slow?
  • 8. What Makes a WP Site Slow? Backend: • Poor Hosting • Bloated Theme/ Plugin • Overloaded Server • Complicated Queries
  • 9. What Makes a WP Site Slow? Backend: • Poor Hosting • Bloated Theme/ Plugin • Overloaded Server • Complicated Queries Frontend: • Large File Sizes • Many Files (Total Requests) • Slow Delivery
  • 10. • Caching & Complex Queries • Image/CSS/JS Compression • Theme/Plugin/Query Audits Performance Hack 1
  • 11. • Caching & Complex Queries • Image/CSS/JS Compression • Theme/Plugin/Query Audits Performance Hack 1 30 to 50 elements concurrent browser connections 0 to 1.5 MB in size Less is more
  • 12. • Caching & Complex Queries • Image/CSS/JS Compression • Theme/Plugin/Query Audits Performance Hack 1 Compress Images CSS Sprites Minify JS/CSS Files
  • 13. • Caching & Complex Queries • Image/CSS/JS Compression • Theme/Plugin/Query Audits Performance Hack 1 Too many Queries Other Domain Calls Conflicts/Multiple Loads
  • 14. Choosing your Host Wisely Why consider CDNs? More RAM & CPU Not Always a Faster Site Performance Hack 2
  • 15. Performance Hack 3 GZIP and .htaccess Disable Entity Tags MOD_EXPIRES Redis vs Memcached Compress Data Sent from Server AddOutputFilterByType DEFLATE text/plain AddOutputFilterByType DEFLATE text/html AddOutputFilterByType DEFLATE text/xml AddOutputFilterByType DEFLATE text/css AddOutputFilterByType DEFLATE application/xml AddOutputFilterByType DEFLATE application/xhtml+xml AddOutputFilterByType DEFLATE application/rss+xml AddOutputFilterByType DEFLATE application/javascript AddOutputFilterByType DEFLATE application/x-javascript
  • 16. Performance Hack 3 GZIP and .htaccess Disable Entity Tags MOD_EXPIRES Redis vs Memcached Browsercache items correspond to current server version Header unset ETag FileETag None
  • 17. Performance Hack 3 GZIP and .htaccess Disable Entity Tags MOD_EXPIRES Redis vs Memcached
  • 18. Caching Options Memcached (In-Proc Cache/Near Cache) Redis OSS (In-Memory Object Caching) WP-Rocket (Premium Plugin) Varnish (In Memory Session Store) Wordfence (Premium Plugin) Object Cache Vs Session Cache
  • 19. Performance Plugin Options Humming Bird LiteSpeed Cache Auto Optimize W3 Cache WP-Rocket (Premium) Plugins can only improve performance by 20-30% Rest work still remains with Themes Optimization and best practices stated before.
  • 20. Performance Plugin Options Same Bulky WordPress Installation with No Other Optimizations than that of Plugins Localhost, PHP 5.6, MySQL Database, Mozilla Browser Sr. NoConfigs Load Time Finished Time Performance Max= 100 PWA Score 1Default 4.84s 5.18s 1 15 2Humming Bird 3.65s 4.44s 1 15 3LiteSpeed Cache 4.75s 10.12s 0 15 4Autoptimize 4.22s 4.82s 1 15 5W3 Cache 4.20s 4.61s 31 15 6WP Rocket 3.21s 3.72s 3 15 (C) Hassan Raza
  • 21. PHP 7 Performance This graph measures the number of hits each site was able to handle within 300 seconds. Reference: wpengine.com
  • 22. Can we go any Faster? How about in-memory Data store? Redis as MySQL Alternative Use Redis as main database with persistence over Flash
  • 23. What’s the big Idea? 1- WP-redis (Consider Replacing MySQL) 2- Optimized Dockers 3- Customized Hosting (CDN Powered)
  • 24. Contact Me: hassan@rfstud.io Twitter: @hasanphd How fast can you go? Linearly Scale Now!