SlideShare a Scribd company logo
WordPress Performance
Timothy Wood @codearachnid
www.ImagineSimplicity.com || www.codearachnid.com
How do you percieve performance?
Change behavior to influence perception

Percieved Performance:   Actual Performance:
Responsive               ● Optimize
● Feedback               ● Cache
● Progressive            ● Minimize
● Escape or Distract     ● Workflow
● Describe
Low hanging fruit for WordPress:
● Frontend
   ○ Minimize
   ○ Sprites
● Caching
  ○ Asset delivery
  ○ Chunking
● Application
  ○ Theme
  ○ Plugins
● Server Setups
   ○ OS choice & tweaking
Battle of the brawn



● Process based          ● Event based
● Req increase RAM       ● RAM use is stable
● Gobs of features       ● Speed > features
● More use cases         ● no .htaccess
Like Apache, Nginx has all the features you
would expect from a leading Web server. It is
stable, secure and very easy to configure.
Real world comparisons:


                                        9794 req/5 min
                                        32 req/second
                                        Only site on fresh VPS install,
                                        with minimal graphics, scripts,
                                        css.




                                        17479 req/5 min
                                        60 req/second
                                        One of several sites on VPS,
                                        photographer portofolio, heavy
Stress tests by http://loadimpact.com   graphics, minimal scripts & css.
Real world comparisions (cont.):
But wait... There's more!
  - WP Plugin: nginx Compatibility

  - Pretty URLS:

     /etc/nginx/sites-available/nginx.conf

     if (!-e $request_filename) {
          rewrite ^ /index.php last;
     }




                                             Performance
Tips for optimizing application layer
Theme:                   Plugins:
● Simplify & Reduce      ● Delete Unused
                         ● Combine Functionality
● Keep Code Updated
                         ● Avoid Bad Plugins
● Repair MySQL DB
● Log Slow Queries
● Move CSS to top &
  Javascript to bottom
Caching with static content + CDN
Plugins:              Benefit:
● W3TC                ● At least 10x
                        improvement in site
● WP Super Cache        performance
● Hyper Cache         ● “Instant” second page
● DB Cache Reloaded     views
                      ● Reduced page load time
                      ● Improved web server
CDN:                    performance
● Amazon S3 &         ● Up to 80% Bandwidth
  Cloudfront            savings
W3 Total Cache (setup walkthrough)
1. Sign-up for Amazon S3 & Cloudfront
2. Install W3 Total Cache Plugin within
   WordPress
3. Follow W3 Total Cache Instructions within
   WordPress admin panel
4. Log in to Cloudfront control panel and create
   a Distribution for your newly created bucked
CDN explained & expounded
A content delivery network or content
distribution network (CDN) is a system of
computers containing copies of data placed at
various nodes of a network.
* The optimal number is somewhere between 1 and 5 hosts (1 main host plus 4
hosts on which to parallelize cacheable resources). As a rule of thumb, you
shouldn't use more than 1 host for fewer than 6 resources; fewer than 2
resources on a single host is especially wasteful. It should never be necessary
to use more than 5 hosts (not counting hosts serving resources over which you
have no control, such as ads). (source: Google Page Speed)
Interface polish & performance
●   Yslow, Page Speed, Speed Tracer
●   Minify and combine all CSS and JavaScript
●   gZip, image sprites, smush.it
●   Cleanup your markup
●   Improve wait messaging
What did we learn?
●   Build on a good foundation
●   Pull the weeds of unnecessary code
●   Optimize browser rendering
●   Minimize request overhead
●   Minimize round-trip times
●   Minimize payload size
●   Optimize caching
●   Change perception
Find me online:

@CODEARACHNID

More Related Content

PDF
High Performance - Joomla!Days NL 2009 #jd09nl
PPTX
Presentation1
PPT
PDF
Speed Up Wordpress, Wordpress Horsepower
PPTX
Squeeze Maximum Performance From Your Joomla Website
PPTX
Caching in Drupal 8
PPTX
Speed up Your Joomla Site for Ultimate Performance
PDF
23 Ways To Speed Up WordPress
High Performance - Joomla!Days NL 2009 #jd09nl
Presentation1
Speed Up Wordpress, Wordpress Horsepower
Squeeze Maximum Performance From Your Joomla Website
Caching in Drupal 8
Speed up Your Joomla Site for Ultimate Performance
23 Ways To Speed Up WordPress

What's hot (18)

PDF
Client-side Website Optimization
PDF
WordCamp RVA
PDF
Wordpress horsepower
PDF
Php & web server performace
PPTX
Caching 101
PPTX
How to reduce database load using Memcache
PPTX
Wordcamp2009
PDF
PAC 2019 virtual Mark Tomlinson
ZIP
High Performance WordPress - WordCamp Jerusalem 2010
PPT
High Performance WordPress
PPT
ServerBeach and WordPress BlogWorldExpo 2007
PPTX
Fluent 2012 v2
PPTX
Wordpress optimization
PPTX
Speed Up WordPress Websites - Part 1 - WordPress Cairo Meetup
PPTX
WordPress Hosting Best Practices - Do's and Don't s | WordPress Trivandrum
PDF
Meta Refresh 2014
PDF
Metarefresh
PDF
Optimizing wp
Client-side Website Optimization
WordCamp RVA
Wordpress horsepower
Php & web server performace
Caching 101
How to reduce database load using Memcache
Wordcamp2009
PAC 2019 virtual Mark Tomlinson
High Performance WordPress - WordCamp Jerusalem 2010
High Performance WordPress
ServerBeach and WordPress BlogWorldExpo 2007
Fluent 2012 v2
Wordpress optimization
Speed Up WordPress Websites - Part 1 - WordPress Cairo Meetup
WordPress Hosting Best Practices - Do's and Don't s | WordPress Trivandrum
Meta Refresh 2014
Metarefresh
Optimizing wp
Ad

Viewers also liked (12)

PPTX
Software reliability engineering process
PDF
Defect Prediction & Prevention In Automotive Software Development
PPTX
The future of java
PDF
Reliability growth models for quality management
PPTX
Software Performance Testing: Conceptos y metodología
PDF
Reliability growth models
PPTX
Shop floor management new flyer 1 day workshop - november 2016
PPT
Software and Hardware Reliability
PDF
Chapter 7 software reliability
PPTX
Software Reliability
PPT
Software reliability
Software reliability engineering process
Defect Prediction & Prevention In Automotive Software Development
The future of java
Reliability growth models for quality management
Software Performance Testing: Conceptos y metodología
Reliability growth models
Shop floor management new flyer 1 day workshop - november 2016
Software and Hardware Reliability
Chapter 7 software reliability
Software Reliability
Software reliability
Ad

Similar to WordCamp RVA 2011 - Performance & Tuning (20)

PDF
WordPress Cluster for Enterprise High-Availability and On-Demand Scaling
PPTX
Data Scotland 2019: You can run SQL Server on AWS
PDF
Optimizing WordPress for Performance - WordCamp Houston
PDF
Web Performance Part 3 "Server-side tips"
PDF
Setting up a local WordPress Environment
PPTX
A faster web
PPTX
Nginx [engine x] and you (and WordPress)
PDF
Kaseya Connect 2013: Optimizing Your K Server - Best Practices in Kaseya Infr...
PPTX
Veeam Backup & Replication Tips and Tricks
PDF
Optimizing Your Frontend Performance
PDF
Como creamos QuestDB Cloud, un SaaS basado en Kubernetes alrededor de QuestDB...
PDF
Scaling Marketplace to 10,000 Add-Ons - Arun Bhalla
PDF
Drupal 7 performance and optimization
PDF
ASP.NET Scalability - NxtGen Oxford
PDF
[DevopsDays India 2019] Where is my cache? Architectural patterns for caching...
PDF
Pagespeed what, why, and how it works
PDF
ASP.NET Scalability - DDD7
ODP
Shootout at the PAAS Corral
PDF
Where is my cache? Architectural patterns for caching microservices by example
PDF
Where is my cache architectural patterns for caching microservices by example
WordPress Cluster for Enterprise High-Availability and On-Demand Scaling
Data Scotland 2019: You can run SQL Server on AWS
Optimizing WordPress for Performance - WordCamp Houston
Web Performance Part 3 "Server-side tips"
Setting up a local WordPress Environment
A faster web
Nginx [engine x] and you (and WordPress)
Kaseya Connect 2013: Optimizing Your K Server - Best Practices in Kaseya Infr...
Veeam Backup & Replication Tips and Tricks
Optimizing Your Frontend Performance
Como creamos QuestDB Cloud, un SaaS basado en Kubernetes alrededor de QuestDB...
Scaling Marketplace to 10,000 Add-Ons - Arun Bhalla
Drupal 7 performance and optimization
ASP.NET Scalability - NxtGen Oxford
[DevopsDays India 2019] Where is my cache? Architectural patterns for caching...
Pagespeed what, why, and how it works
ASP.NET Scalability - DDD7
Shootout at the PAAS Corral
Where is my cache? Architectural patterns for caching microservices by example
Where is my cache architectural patterns for caching microservices by example

Recently uploaded (20)

PPTX
MYSQL Presentation for SQL database connectivity
PDF
CIFDAQ's Market Insight: SEC Turns Pro Crypto
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PDF
Approach and Philosophy of On baking technology
DOCX
The AUB Centre for AI in Media Proposal.docx
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PPTX
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
PDF
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PPTX
A Presentation on Artificial Intelligence
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
Empathic Computing: Creating Shared Understanding
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PPTX
Big Data Technologies - Introduction.pptx
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
MYSQL Presentation for SQL database connectivity
CIFDAQ's Market Insight: SEC Turns Pro Crypto
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
Approach and Philosophy of On baking technology
The AUB Centre for AI in Media Proposal.docx
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
Per capita expenditure prediction using model stacking based on satellite ima...
Unlocking AI with Model Context Protocol (MCP)
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
Mobile App Security Testing_ A Comprehensive Guide.pdf
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
A Presentation on Artificial Intelligence
Digital-Transformation-Roadmap-for-Companies.pptx
Empathic Computing: Creating Shared Understanding
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Big Data Technologies - Introduction.pptx
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx

WordCamp RVA 2011 - Performance & Tuning

  • 1. WordPress Performance Timothy Wood @codearachnid www.ImagineSimplicity.com || www.codearachnid.com
  • 2. How do you percieve performance?
  • 3. Change behavior to influence perception Percieved Performance: Actual Performance: Responsive ● Optimize ● Feedback ● Cache ● Progressive ● Minimize ● Escape or Distract ● Workflow ● Describe
  • 4. Low hanging fruit for WordPress: ● Frontend ○ Minimize ○ Sprites ● Caching ○ Asset delivery ○ Chunking ● Application ○ Theme ○ Plugins ● Server Setups ○ OS choice & tweaking
  • 5. Battle of the brawn ● Process based ● Event based ● Req increase RAM ● RAM use is stable ● Gobs of features ● Speed > features ● More use cases ● no .htaccess Like Apache, Nginx has all the features you would expect from a leading Web server. It is stable, secure and very easy to configure.
  • 6. Real world comparisons: 9794 req/5 min 32 req/second Only site on fresh VPS install, with minimal graphics, scripts, css. 17479 req/5 min 60 req/second One of several sites on VPS, photographer portofolio, heavy Stress tests by http://loadimpact.com graphics, minimal scripts & css.
  • 8. But wait... There's more! - WP Plugin: nginx Compatibility - Pretty URLS: /etc/nginx/sites-available/nginx.conf if (!-e $request_filename) { rewrite ^ /index.php last; } Performance
  • 9. Tips for optimizing application layer Theme: Plugins: ● Simplify & Reduce ● Delete Unused ● Combine Functionality ● Keep Code Updated ● Avoid Bad Plugins ● Repair MySQL DB ● Log Slow Queries ● Move CSS to top & Javascript to bottom
  • 10. Caching with static content + CDN Plugins: Benefit: ● W3TC ● At least 10x improvement in site ● WP Super Cache performance ● Hyper Cache ● “Instant” second page ● DB Cache Reloaded views ● Reduced page load time ● Improved web server CDN: performance ● Amazon S3 & ● Up to 80% Bandwidth Cloudfront savings
  • 11. W3 Total Cache (setup walkthrough) 1. Sign-up for Amazon S3 & Cloudfront 2. Install W3 Total Cache Plugin within WordPress 3. Follow W3 Total Cache Instructions within WordPress admin panel 4. Log in to Cloudfront control panel and create a Distribution for your newly created bucked
  • 12. CDN explained & expounded A content delivery network or content distribution network (CDN) is a system of computers containing copies of data placed at various nodes of a network. * The optimal number is somewhere between 1 and 5 hosts (1 main host plus 4 hosts on which to parallelize cacheable resources). As a rule of thumb, you shouldn't use more than 1 host for fewer than 6 resources; fewer than 2 resources on a single host is especially wasteful. It should never be necessary to use more than 5 hosts (not counting hosts serving resources over which you have no control, such as ads). (source: Google Page Speed)
  • 13. Interface polish & performance ● Yslow, Page Speed, Speed Tracer ● Minify and combine all CSS and JavaScript ● gZip, image sprites, smush.it ● Cleanup your markup ● Improve wait messaging
  • 14. What did we learn? ● Build on a good foundation ● Pull the weeds of unnecessary code ● Optimize browser rendering ● Minimize request overhead ● Minimize round-trip times ● Minimize payload size ● Optimize caching ● Change perception