SlideShare una empresa de Scribd logo
1 de 45
Descargar para leer sin conexión
Performance
                            Tweaks for
                          Shared Hosting
                                    Jon Brown
                                 j.Brown Studios
                                      @jb510
                            http://jbrownstudios.com

Saturday, October 6, 12
Tweaking WP
                           Performance in 3
                                 acts
                          Act 1 - Inside WordPress

                          Act 2 - On your Shared Server

                          Act 3 - O! your Shared Server




Saturday, October 6, 12
Prelude



Saturday, October 6, 12
What am I going to
                            cover today?

                          Performance Tweaks you can make on
                          or with most shared hosting (not that
                             they won’t help on any hosting)




Saturday, October 6, 12
What am I not going
                    to talk about today?

                          Geeky tweaks that are only suitable to
                                 VPS/Dedicated servers
                          (ie. APC, Memcached, Hyper DB, etc...)




Saturday, October 6, 12
Where to go for the
                      advanced stu!?
                             http://wordpress.tv/
                          http://www.slideshare.net/
                                 Joseph Scott
                               Barry Abrahamson
                                 Ilya Grigorik
                                Iliya Polihronov
                              and many others...

Saturday, October 6, 12
Measuring
                               Performance

                 • It’s hard to impossible to measure
                          performance on shared servers
                 • How to measure anyway...
                          http://www.webpagetest.org




Saturday, October 6, 12
Why not use your
                           browser tools?
                     • FireBug
                     • YSlow
                     • PageSpeed
                     • WebKit DevTools,
                     • etc...
Saturday, October 6, 12
WebPageTest.org




Saturday, October 6, 12
1
                              2




                          3




Saturday, October 6, 12
The challenge
                     with shared hosting
               • Con"gured to run just about any type of
                          web site
               • Generalized not optimized
               • Many performance tweaks available to
                          dedicated/VPS hosting can’t be made
               • Some performance tweaks you can make...
                          starting in WordPress


Saturday, October 6, 12
The goal of all
                          opitimization
                     • Reduce HTTP requests
                     • Reduce total data transfer
                     • Reduce CPU load
                     • Avoid Bottlenecks

Saturday, October 6, 12
Act 1

                          Tweaking
                           inside
                          WordPress

Saturday, October 6, 12
Inside WordPress

                     1. Right size/compress images
                     2. Check for 404’s
                     3. Keep your DB under control
                     4. Caching inside WordPress




Saturday, October 6, 12
Right sizing images

                     • Upload the maximum pixel size you
                          want to display, not larger
                     • Compress JPGs to 60-70% (aka 7 out of
                          12 in PhotoShop)
                     • Use WP Smush.it on already uploaded
                          images to "x your past mistakes



Saturday, October 6, 12
Checking for 404’s
                                 WebPageTest.org
                                        or
                             FireBug / Webkit Dev Tools




Saturday, October 6, 12
Keep your DB under
                          control
                 • Optimize DB
                          Plugin - WP DB Manager
                          http://wordpress.org/extend/plugins/
                          wp-dbmanager/
                 •        Tame Revisions
                          Plugin - Revision Control
                          http://wordpress.org/extend/plugins/
                          revision-control/


Saturday, October 6, 12
Caching WordPress

                   • W3 Total Cache
                   • WP Super Cache
                   • WP Minify
                   • Others...

Saturday, October 6, 12
W3TC Con"g Guides
                     •    http://c3mdigital.com/reduce-page-
                          loading-time-w3-total-cache/

                     •    http://headwaythemes.com/screencast-
                          tuesday-using-w3-total-cache-part-1/

                     •    http://www.kidnapcustomers.com/how-
                          to-make-a-website/w3-total-cache-
                          settings-wordpress-speed/



Saturday, October 6, 12
W3TC Do’s & Dont’s
                     for shared hosting
                     • Do test settings
                     • Don’t assume turning everything up to
                          11 will work well... it won’t.
                     • Do take the time to "gure out
                          minifying and combing "les it makes a
                          huge di!erence
                     • Don’t forget to prime your cache
Saturday, October 6, 12
W3TC Minify
                            Settings
                    Try Auto (Performance>General Settings)




Saturday, October 6, 12
W3TC Manual Minify
                          Use Manual (Performance>Min"y)




                                              Lists all your CSS and JS
                                              for easy manual addition
                                              and ordering




Saturday, October 6, 12
After Mini"cation




Saturday, October 6, 12
Before Mini"cation




Saturday, October 6, 12
Act 2

                          On your Shared
                          Hosting Server

Saturday, October 6, 12
On your Server

                 1. PHP Version
                 2. DB Cleanup
                 3. Cloud#are (if your lucky)




Saturday, October 6, 12
Switch to a newer
                           version of PHP

                           “PHP 5.2 to 5.3 - WordPress 15% faster”
                           ~ Dmitry Stogov http://news.php.net/
                           php.internals/36484

                           PHP 5.4 is even faster




Saturday, October 6, 12
How to change PHP
                           versions
                     • Ask your web host...
                     • In cPanel "nd PHP Con"g


                     • Sometimes set in .htaccess via
                          AddHandler


Saturday, October 6, 12
PHP 5.2 - 5.3 - 5.4




Saturday, October 6, 12
Keep Your DB under
                          control
                     • PHPMyAdmin to Optimize MySQL
                          Tables if you didn’t want to use the WP
                          DB Manager plugin to do it




Saturday, October 6, 12
CloudFlare
                          free awesomeness

                           CDN + Site Optimizer + Security




Saturday, October 6, 12
Some Host Integrating
        CloudFlare with cPanel

                     • http://www.cloud#are.com/hosting-
                           partners
                          (DreamHost, BlueHost, many more...)




Saturday, October 6, 12
Enable CloudFlare in
                      your cPanel




Saturday, October 6, 12
Saturday, October 6, 12
W3 Total Cache
            can control CloudFlare




Saturday, October 6, 12
One Caveat




Saturday, October 6, 12
Act 3

                          O! your Shared
                          Hosting Server

Saturday, October 6, 12
O! your server


                     1. CDNs (CloudFlare is Free)




Saturday, October 6, 12
CloudFlare


                          CDN + Optimizer + Security




Saturday, October 6, 12
Setup Cloud#are
                     1. Setup CloudFlare account (free)
                     2. Have CloudFlare scan your DNS
                        records (check your records)
                     3. Repoint your nameservers
                     4. Done



Saturday, October 6, 12
Why

                     • Reduces requests to your server
                     • Reduces requests to your CDN if you
                          use one
                     • Adds security
                     • Optimizer features (I use W3TC)

Saturday, October 6, 12
So where does it get
                           us?


Saturday, October 6, 12
Where we started


                                             1
                                             2




                                    3




Saturday, October 6, 12
W3TC Mini"cation


                                             1
                                             2




                                    3




Saturday, October 6, 12
W3TC + CloudFlare


                                              1
                                              2




                                    3




Saturday, October 6, 12

Más contenido relacionado

La actualidad más candente

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 speedPromet Source
 
Techniques to speed up your build pipeline
Techniques to speed up your build pipelineTechniques to speed up your build pipeline
Techniques to speed up your build pipelineAshish Parkhi
 
Red Dirt Ruby Conference
Red Dirt Ruby ConferenceRed Dirt Ruby Conference
Red Dirt Ruby ConferenceJohn Woodell
 
High Performance WordPress
High Performance WordPressHigh Performance WordPress
High Performance WordPressvnsavage
 
Node.js, toy or power tool?
Node.js, toy or power tool?Node.js, toy or power tool?
Node.js, toy or power tool?Ovidiu Dimulescu
 
Blazing Data With Redis (and LEGOS!)
Blazing Data With Redis (and LEGOS!)Blazing Data With Redis (and LEGOS!)
Blazing Data With Redis (and LEGOS!)Justin Carmony
 
How MongoDB is Being Used in China - Case Studies
How MongoDB is Being Used in China - Case StudiesHow MongoDB is Being Used in China - Case Studies
How MongoDB is Being Used in China - Case StudiesMongoDB
 
Plain english guide to drupal 8 criticals
Plain english guide to drupal 8 criticalsPlain english guide to drupal 8 criticals
Plain english guide to drupal 8 criticalsAngela Byron
 
Profiling php applications
Profiling php applicationsProfiling php applications
Profiling php applicationsJustin Carmony
 
cache concepts and varnish-cache
cache concepts and varnish-cachecache concepts and varnish-cache
cache concepts and varnish-cacheMarc Cortinas Val
 
High Performance on Drupal 7
High Performance on Drupal 7High Performance on Drupal 7
High Performance on Drupal 7Exove
 
Interop 2011 - Scaling Platform As A Service
Interop 2011 - Scaling Platform As A ServiceInterop 2011 - Scaling Platform As A Service
Interop 2011 - Scaling Platform As A ServicePatrick Chanezon
 
Challenges when building high profile editorial sites
Challenges when building high profile editorial sitesChallenges when building high profile editorial sites
Challenges when building high profile editorial sitesYann Malet
 
07 cookies
07 cookies07 cookies
07 cookiessnopteck
 
D installation manual
D installation manualD installation manual
D installation manualFaheem Akbar
 
Improving Drupal Performances
Improving Drupal PerformancesImproving Drupal Performances
Improving Drupal PerformancesVladimir Ilic
 
Capacity Planning For LAMP
Capacity Planning For LAMPCapacity Planning For LAMP
Capacity Planning For LAMPJohn Allspaw
 

La actualidad más candente (20)

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
 
23 Ways To Speed Up WordPress
23 Ways To Speed Up WordPress23 Ways To Speed Up WordPress
23 Ways To Speed Up WordPress
 
Techniques to speed up your build pipeline
Techniques to speed up your build pipelineTechniques to speed up your build pipeline
Techniques to speed up your build pipeline
 
Red Dirt Ruby Conference
Red Dirt Ruby ConferenceRed Dirt Ruby Conference
Red Dirt Ruby Conference
 
High Performance WordPress
High Performance WordPressHigh Performance WordPress
High Performance WordPress
 
Node.js, toy or power tool?
Node.js, toy or power tool?Node.js, toy or power tool?
Node.js, toy or power tool?
 
Scaling Django
Scaling DjangoScaling Django
Scaling Django
 
Blazing Data With Redis (and LEGOS!)
Blazing Data With Redis (and LEGOS!)Blazing Data With Redis (and LEGOS!)
Blazing Data With Redis (and LEGOS!)
 
How MongoDB is Being Used in China - Case Studies
How MongoDB is Being Used in China - Case StudiesHow MongoDB is Being Used in China - Case Studies
How MongoDB is Being Used in China - Case Studies
 
Plain english guide to drupal 8 criticals
Plain english guide to drupal 8 criticalsPlain english guide to drupal 8 criticals
Plain english guide to drupal 8 criticals
 
Profiling php applications
Profiling php applicationsProfiling php applications
Profiling php applications
 
Speed Matters
Speed MattersSpeed Matters
Speed Matters
 
cache concepts and varnish-cache
cache concepts and varnish-cachecache concepts and varnish-cache
cache concepts and varnish-cache
 
High Performance on Drupal 7
High Performance on Drupal 7High Performance on Drupal 7
High Performance on Drupal 7
 
Interop 2011 - Scaling Platform As A Service
Interop 2011 - Scaling Platform As A ServiceInterop 2011 - Scaling Platform As A Service
Interop 2011 - Scaling Platform As A Service
 
Challenges when building high profile editorial sites
Challenges when building high profile editorial sitesChallenges when building high profile editorial sites
Challenges when building high profile editorial sites
 
07 cookies
07 cookies07 cookies
07 cookies
 
D installation manual
D installation manualD installation manual
D installation manual
 
Improving Drupal Performances
Improving Drupal PerformancesImproving Drupal Performances
Improving Drupal Performances
 
Capacity Planning For LAMP
Capacity Planning For LAMPCapacity Planning For LAMP
Capacity Planning For LAMP
 

Destacado

Destacado (7)

Shock bs thao1
Shock bs thao1Shock bs thao1
Shock bs thao1
 
Pathophysiology of shock
Pathophysiology of shockPathophysiology of shock
Pathophysiology of shock
 
Diagnosis and Management of Shock
Diagnosis and Management of Shock		Diagnosis and Management of Shock
Diagnosis and Management of Shock
 
Shock
ShockShock
Shock
 
SHOCK
SHOCKSHOCK
SHOCK
 
Shock
Shock	Shock
Shock
 
Shock - Pathophysiology / Types & Management
Shock - Pathophysiology / Types & ManagementShock - Pathophysiology / Types & Management
Shock - Pathophysiology / Types & Management
 

Similar a Optimizing WordPress Performance on Shared Web Hosting

Tulsa tech fest 2010 - web speed and scalability
Tulsa tech fest 2010  - web speed and scalabilityTulsa tech fest 2010  - web speed and scalability
Tulsa tech fest 2010 - web speed and scalabilityJason Ragsdale
 
Inside the Atlassian OnDemand Private Cloud
Inside the Atlassian OnDemand Private CloudInside the Atlassian OnDemand Private Cloud
Inside the Atlassian OnDemand Private CloudAtlassian
 
Orlando DNN Usergroup Pres 12/06/11
Orlando DNN Usergroup Pres 12/06/11Orlando DNN Usergroup Pres 12/06/11
Orlando DNN Usergroup Pres 12/06/11Jess Coburn
 
Performance & Responsive Web Design
Performance & Responsive Web DesignPerformance & Responsive Web Design
Performance & Responsive Web DesignZach Leatherman
 
Performance for Product Developers
Performance for Product DevelopersPerformance for Product Developers
Performance for Product DevelopersMatthew Wilkes
 
Drupal for Project Managers, Part 3: Launching
Drupal for Project Managers, Part 3: LaunchingDrupal for Project Managers, Part 3: Launching
Drupal for Project Managers, Part 3: LaunchingAcquia
 
Pure Speed Drupal 4 Gov talk
Pure Speed Drupal 4 Gov talkPure Speed Drupal 4 Gov talk
Pure Speed Drupal 4 Gov talkBryan Ollendyke
 
[convergefl] Adaptive Images in Responsive Web Design
[convergefl] Adaptive Images in Responsive Web Design[convergefl] Adaptive Images in Responsive Web Design
[convergefl] Adaptive Images in Responsive Web DesignChristopher Schmitt
 
Upgrades and migrations
Upgrades and migrationsUpgrades and migrations
Upgrades and migrationsDavid Lanier
 
HH.JS - State of the Automation
HH.JS - State of the AutomationHH.JS - State of the Automation
HH.JS - State of the AutomationAdam Christian
 
GitHub Notable OSS Project
GitHub  Notable OSS ProjectGitHub  Notable OSS Project
GitHub Notable OSS Projectroumia
 
Coscup 2013 : Continuous Integration on top of hadoop
Coscup 2013 : Continuous Integration on top of hadoopCoscup 2013 : Continuous Integration on top of hadoop
Coscup 2013 : Continuous Integration on top of hadoopWisely chen
 
High Performance Drupal
High Performance DrupalHigh Performance Drupal
High Performance DrupalChapter Three
 
NDH2k12 Cloud Computing Security
NDH2k12 Cloud Computing SecurityNDH2k12 Cloud Computing Security
NDH2k12 Cloud Computing SecurityMatthieu Bouthors
 
Let's speed it up a bit (AmsterdamPHP)
Let's speed it up a bit (AmsterdamPHP)Let's speed it up a bit (AmsterdamPHP)
Let's speed it up a bit (AmsterdamPHP)pascaldevink
 

Similar a Optimizing WordPress Performance on Shared Web Hosting (20)

Tulsa tech fest 2010 - web speed and scalability
Tulsa tech fest 2010  - web speed and scalabilityTulsa tech fest 2010  - web speed and scalability
Tulsa tech fest 2010 - web speed and scalability
 
Inside the Atlassian OnDemand Private Cloud
Inside the Atlassian OnDemand Private CloudInside the Atlassian OnDemand Private Cloud
Inside the Atlassian OnDemand Private Cloud
 
Charles
CharlesCharles
Charles
 
Orlando DNN Usergroup Pres 12/06/11
Orlando DNN Usergroup Pres 12/06/11Orlando DNN Usergroup Pres 12/06/11
Orlando DNN Usergroup Pres 12/06/11
 
Performance & Responsive Web Design
Performance & Responsive Web DesignPerformance & Responsive Web Design
Performance & Responsive Web Design
 
Performance for Product Developers
Performance for Product DevelopersPerformance for Product Developers
Performance for Product Developers
 
Drupal for Project Managers, Part 3: Launching
Drupal for Project Managers, Part 3: LaunchingDrupal for Project Managers, Part 3: Launching
Drupal for Project Managers, Part 3: Launching
 
Pure Speed Drupal 4 Gov talk
Pure Speed Drupal 4 Gov talkPure Speed Drupal 4 Gov talk
Pure Speed Drupal 4 Gov talk
 
[convergefl] Adaptive Images in Responsive Web Design
[convergefl] Adaptive Images in Responsive Web Design[convergefl] Adaptive Images in Responsive Web Design
[convergefl] Adaptive Images in Responsive Web Design
 
Upgrades and migrations
Upgrades and migrationsUpgrades and migrations
Upgrades and migrations
 
Cassandra at scale
Cassandra at scaleCassandra at scale
Cassandra at scale
 
NATO IST Symposium 2013
NATO IST Symposium 2013NATO IST Symposium 2013
NATO IST Symposium 2013
 
HH.JS - State of the Automation
HH.JS - State of the AutomationHH.JS - State of the Automation
HH.JS - State of the Automation
 
GitHub Notable OSS Project
GitHub  Notable OSS ProjectGitHub  Notable OSS Project
GitHub Notable OSS Project
 
Coscup 2013 : Continuous Integration on top of hadoop
Coscup 2013 : Continuous Integration on top of hadoopCoscup 2013 : Continuous Integration on top of hadoop
Coscup 2013 : Continuous Integration on top of hadoop
 
Qcon talk
Qcon talkQcon talk
Qcon talk
 
High Performance Drupal
High Performance DrupalHigh Performance Drupal
High Performance Drupal
 
NDH2k12 Cloud Computing Security
NDH2k12 Cloud Computing SecurityNDH2k12 Cloud Computing Security
NDH2k12 Cloud Computing Security
 
Scalability
ScalabilityScalability
Scalability
 
Let's speed it up a bit (AmsterdamPHP)
Let's speed it up a bit (AmsterdamPHP)Let's speed it up a bit (AmsterdamPHP)
Let's speed it up a bit (AmsterdamPHP)
 

Último

Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUK Journal
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CVKhem
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 

Último (20)

Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 

Optimizing WordPress Performance on Shared Web Hosting

  • 1. Performance Tweaks for Shared Hosting Jon Brown j.Brown Studios @jb510 http://jbrownstudios.com Saturday, October 6, 12
  • 2. Tweaking WP Performance in 3 acts Act 1 - Inside WordPress Act 2 - On your Shared Server Act 3 - O! your Shared Server Saturday, October 6, 12
  • 4. What am I going to cover today? Performance Tweaks you can make on or with most shared hosting (not that they won’t help on any hosting) Saturday, October 6, 12
  • 5. What am I not going to talk about today? Geeky tweaks that are only suitable to VPS/Dedicated servers (ie. APC, Memcached, Hyper DB, etc...) Saturday, October 6, 12
  • 6. Where to go for the advanced stu!? http://wordpress.tv/ http://www.slideshare.net/ Joseph Scott Barry Abrahamson Ilya Grigorik Iliya Polihronov and many others... Saturday, October 6, 12
  • 7. Measuring Performance • It’s hard to impossible to measure performance on shared servers • How to measure anyway... http://www.webpagetest.org Saturday, October 6, 12
  • 8. Why not use your browser tools? • FireBug • YSlow • PageSpeed • WebKit DevTools, • etc... Saturday, October 6, 12
  • 10. 1 2 3 Saturday, October 6, 12
  • 11. The challenge with shared hosting • Con"gured to run just about any type of web site • Generalized not optimized • Many performance tweaks available to dedicated/VPS hosting can’t be made • Some performance tweaks you can make... starting in WordPress Saturday, October 6, 12
  • 12. The goal of all opitimization • Reduce HTTP requests • Reduce total data transfer • Reduce CPU load • Avoid Bottlenecks Saturday, October 6, 12
  • 13. Act 1 Tweaking inside WordPress Saturday, October 6, 12
  • 14. Inside WordPress 1. Right size/compress images 2. Check for 404’s 3. Keep your DB under control 4. Caching inside WordPress Saturday, October 6, 12
  • 15. Right sizing images • Upload the maximum pixel size you want to display, not larger • Compress JPGs to 60-70% (aka 7 out of 12 in PhotoShop) • Use WP Smush.it on already uploaded images to "x your past mistakes Saturday, October 6, 12
  • 16. Checking for 404’s WebPageTest.org or FireBug / Webkit Dev Tools Saturday, October 6, 12
  • 17. Keep your DB under control • Optimize DB Plugin - WP DB Manager http://wordpress.org/extend/plugins/ wp-dbmanager/ • Tame Revisions Plugin - Revision Control http://wordpress.org/extend/plugins/ revision-control/ Saturday, October 6, 12
  • 18. Caching WordPress • W3 Total Cache • WP Super Cache • WP Minify • Others... Saturday, October 6, 12
  • 19. W3TC Con"g Guides • http://c3mdigital.com/reduce-page- loading-time-w3-total-cache/ • http://headwaythemes.com/screencast- tuesday-using-w3-total-cache-part-1/ • http://www.kidnapcustomers.com/how- to-make-a-website/w3-total-cache- settings-wordpress-speed/ Saturday, October 6, 12
  • 20. W3TC Do’s & Dont’s for shared hosting • Do test settings • Don’t assume turning everything up to 11 will work well... it won’t. • Do take the time to "gure out minifying and combing "les it makes a huge di!erence • Don’t forget to prime your cache Saturday, October 6, 12
  • 21. W3TC Minify Settings Try Auto (Performance>General Settings) Saturday, October 6, 12
  • 22. W3TC Manual Minify Use Manual (Performance>Min"y) Lists all your CSS and JS for easy manual addition and ordering Saturday, October 6, 12
  • 25. Act 2 On your Shared Hosting Server Saturday, October 6, 12
  • 26. On your Server 1. PHP Version 2. DB Cleanup 3. Cloud#are (if your lucky) Saturday, October 6, 12
  • 27. Switch to a newer version of PHP “PHP 5.2 to 5.3 - WordPress 15% faster” ~ Dmitry Stogov http://news.php.net/ php.internals/36484 PHP 5.4 is even faster Saturday, October 6, 12
  • 28. How to change PHP versions • Ask your web host... • In cPanel "nd PHP Con"g • Sometimes set in .htaccess via AddHandler Saturday, October 6, 12
  • 29. PHP 5.2 - 5.3 - 5.4 Saturday, October 6, 12
  • 30. Keep Your DB under control • PHPMyAdmin to Optimize MySQL Tables if you didn’t want to use the WP DB Manager plugin to do it Saturday, October 6, 12
  • 31. CloudFlare free awesomeness CDN + Site Optimizer + Security Saturday, October 6, 12
  • 32. Some Host Integrating CloudFlare with cPanel • http://www.cloud#are.com/hosting- partners (DreamHost, BlueHost, many more...) Saturday, October 6, 12
  • 33. Enable CloudFlare in your cPanel Saturday, October 6, 12
  • 35. W3 Total Cache can control CloudFlare Saturday, October 6, 12
  • 37. Act 3 O! your Shared Hosting Server Saturday, October 6, 12
  • 38. O! your server 1. CDNs (CloudFlare is Free) Saturday, October 6, 12
  • 39. CloudFlare CDN + Optimizer + Security Saturday, October 6, 12
  • 40. Setup Cloud#are 1. Setup CloudFlare account (free) 2. Have CloudFlare scan your DNS records (check your records) 3. Repoint your nameservers 4. Done Saturday, October 6, 12
  • 41. Why • Reduces requests to your server • Reduces requests to your CDN if you use one • Adds security • Optimizer features (I use W3TC) Saturday, October 6, 12
  • 42. So where does it get us? Saturday, October 6, 12
  • 43. Where we started 1 2 3 Saturday, October 6, 12
  • 44. W3TC Mini"cation 1 2 3 Saturday, October 6, 12
  • 45. W3TC + CloudFlare 1 2 3 Saturday, October 6, 12

Notas del editor

  1. \n
  2. \n
  3. \n
  4. \n
  5. \n
  6. \n
  7. \n
  8. \n
  9. \n
  10. \n
  11. \n
  12. \n
  13. \n
  14. \n
  15. \n
  16. \n
  17. \n
  18. \n
  19. \n
  20. \n
  21. \n
  22. \n
  23. \n
  24. \n
  25. \n
  26. \n
  27. \n
  28. \n
  29. \n
  30. \n
  31. \n
  32. \n
  33. \n
  34. \n
  35. \n
  36. \n
  37. \n
  38. \n
  39. \n
  40. \n
  41. \n
  42. \n
  43. \n
  44. \n
  45. \n