SlideShare a Scribd company logo
Wordpress optimization
    { Speed up your wordpress
Who dafuq are you?
Wordpress optimization
Wordpress optimization
What are we going to talk
             about?
  How to improve your wordpress performance.


Speed up your website over than 700% faster!
What are we going to talk
            about?
1. Huh? Performance?

2. How do I analyze my wordpress performance?

3. How to optimize!
Hey.. Wait a second!
Why should I do it?
  1. Why not?
  2. It will save you money! $$$$
  3. Make your users happy ๏Š ๏Š ๏Š
  4. Stay up under heavy load..
  5. Improve your google results!
What does it mean
                  โ€œPerformanceโ€?
Loading time is influenced by



       Hardware                   Services                Requests
       Better hosting           Configurations           Caching
       Better hardware          3rd party serviced       Right Development
                                  (varnish, cdn..,apc)
       Location
What does it mean
  โ€œrequestsโ€?
Wordpress optimization
Wordpress optimization
Wordpress optimization
Wordpress optimization
What does it mean
               โ€œPerformanceโ€?
There are two states:


     Deploy                     Production
     1 user = request at time   multiple users = multiple request
     low hardware               high hardware
Analyzing tools
There are few tools to analyze our website:

1. Feeling - the website went slow

2. Requests analyzing tools

3. By-subject analyzing tools

4. Wordpress analyzing
Requests analyzing
Firebugโ€™s Net tab:
Requests analyzing
 webpagetest.org




Allowing test with different engines, and test within first view or repeated.. And much more
Requests analyzing
Pingdom.com tools
By-subject analyzing
YSlow:
By-subject analyzing
YSlow:
By-subject analyzing
Google pagespeed:
By-subject analyzing
Google pagespeed:
Wordpress analyzing
Wordpress plugin: P3


P3 is analyzing your
plugins and provide an
detailed analysis.
Cat time!
Wordpress optimization
How to optimize!
The obvious:
1. Keep your wordpress updated! (core & plugins)
2. Deactivate unused plugins
3. Check about the plugin before install it.


4. Analyze your website.. Duh?
Optimize server
Use linux!


โ€ข Configure the PHP as well - increase memory, timeout..

โ€ข Configure MySQL as well - some innodb issues may slow your website
Optimize server
โ€ข Use opcode accelerators - APC, Xcache, memcache

โ€ข Varnish

โ€ข Consider replacing apache2 with nginx
Development optimizations
Remember this?

Because our browser
   have many requests, the
      loading time much longer.

So, lets try to reduce the requests!
Development optimizations
Use sprites!
Sprites make the browser load all the images at once and reducing new
requests.
Development optimizations
Minify and aggregation
1.   Aggregate all the resources(js, css, image->sprites)
2. Aggregation is reducing the requests


3. Minifying all the resources(html, css, js)
4.   Minifying is speeding up your loading!
Development optimizations
Javascript

1.   Make your ajax scripts cacheable

2. Reduce document ready events.

3. Reduce jQuery queries! โ€“
        every query is scanning the whole webpage!
        use canonical finding instead:
           var $section = $("#section");
           $section.find(".class").text("cool");
Development optimizations
Write semantic and valid code!


1.   Separate code from style: markup shouldn't contains style elements.

2.   Use CSSโ€™s pseudo class โ€œ:beforeโ€ and โ€œ:afterโ€

3.   Use CSS3 features(gradient, shadowโ€ฆ)
Development optimizations
 Write semantic code by the html5 rules!
<header role="banner">
  <h1><a href="http://link.com/" title="Website" rel="home">Logo</a></h1>
  <nav role="navigation"><ul>
    <li class="current"><a href="http://link.com/" title="Home">Home</a></li>
    <li class="page_item"><a href="http://link.com/About">About</a></li>
  </ul></nav>
</header>

<section id="content">
  <article id="post-19" class="post-19 post type-post">
      โ€ฆ
  </article>
  <article id="post-21" class="post-21 post type-post">
      โ€ฆ
  </article>
</section>

<footer>
  โ€ฆ
</footer>
Development optimizations
Images

1.   DO NOT scale images with CSS!
2.   Save images for web

3.   You may use www.smush.it or WP-Smush.it plugin
Development optimizations
Set properly headers for browser-caching
Set expire headers, e-tags, etc..



GZip everything!
Compress your source files(css, js, html) with gzip.. It will accelerate your loading time.
What is cache?
                                                Database

                          Web

                                       Server



This is really long way..
And actually.. Itโ€™s the same result!
What is cache?
Cache is the way to access distant data faster by storing it locally.
Server-side cache
Every request for each page is making our website rebuild this page using the database
our theme, and much more..


                                                                Database




                              Request homepage
                                                 Server




          But, actually- our page hasnโ€™t been changed.
Cache optimizations
So.. Why havenโ€™t we cache this pages?!         Cached
                                                page




                                     is page
                                    cached?
                                                        Database
        Request homepage
                           Server
Cache optimizations



                      April 2010 results..
Cache optimizations



                      April 2010 results..
Cache optimizations
There are two leading plugins:

1.   W3 Total Cache โ€“   complex, but cover much everything!
                                 Including CDN, minifying, aggregation, and much more..


2.   WP Super Cache โ€“   much simpler! Almost automatic..
                        Handle only caching.
CDN
Server




            CDN
            1s



3s
                 1s




     3.5s




                               8s



                          7s




                                          15s
                                    18s
Server




                     CDN
                     1s



            1.5s
js                        1s




              1.5s
      CDN
img                                     CDN



                                              1.5s

css
                                   2s




                                                            CDN




                                                                  1s
                                                     1.2s
CDN
1.   Use Googleโ€™s CDN for jQuery by โ€œuse-google-librariesโ€ plugin

2. If you have serious traffic you may use enterprise CDN
HARDCODE!
1.   Use separate server for database server

2.   Use HyperDB for multiple database servers

3.   Use Memcache on separate server

4.   Use nginx

5.   Develop you plugin using the wordpress cache api!
MOST IMPORTANT!

NEVER EVER hack the core.
Questions?
Thank you!
Ad

More Related Content

What's hot (20)

Introduction to Swagger
Introduction to SwaggerIntroduction to Swagger
Introduction to Swagger
Knoldus Inc.
ย 
Basic Wordpress PPT
Basic Wordpress PPT Basic Wordpress PPT
Basic Wordpress PPT
mayur akabari
ย 
Basic WordPress Workshop Presentation
Basic WordPress Workshop PresentationBasic WordPress Workshop Presentation
Basic WordPress Workshop Presentation
Felix Albutra
ย 
On Page SEO
On Page SEOOn Page SEO
On Page SEO
Digital Marketing Tatva
ย 
Swagger / Quick Start Guide
Swagger / Quick Start GuideSwagger / Quick Start Guide
Swagger / Quick Start Guide
Andrii Gakhov
ย 
Cookies and sessions
Cookies and sessionsCookies and sessions
Cookies and sessions
Sukrit Gupta
ย 
WordPress Webinar Training Presentation
WordPress Webinar Training PresentationWordPress Webinar Training Presentation
WordPress Webinar Training Presentation
MayeCreate Design
ย 
2. seo (lecture notes)
2. seo (lecture notes)2. seo (lecture notes)
2. seo (lecture notes)
Ebele uchendu
ย 
Web Analytics 101
Web Analytics 101Web Analytics 101
Web Analytics 101
Nilotpal Paul
ย 
On page SEO
On page SEOOn page SEO
On page SEO
Animon2019
ย 
Web Performance: 3 Stages to Success
Web Performance: 3 Stages to SuccessWeb Performance: 3 Stages to Success
Web Performance: 3 Stages to Success
Austin Gil
ย 
Google Tag Manager.pptx
Google Tag Manager.pptxGoogle Tag Manager.pptx
Google Tag Manager.pptx
PrashantThakur678201
ย 
Introduction to WordPress
Introduction to WordPressIntroduction to WordPress
Introduction to WordPress
LumosTech
ย 
Google Search Console
Google Search ConsoleGoogle Search Console
Google Search Console
Hekmat Sarwarzada
ย 
Different Types Of Websites - With Basic Information
Different Types Of Websites - With Basic InformationDifferent Types Of Websites - With Basic Information
Different Types Of Websites - With Basic Information
Afzal Hameed
ย 
Wordpress
WordpressWordpress
Wordpress
lexinamer
ย 
Html 5
Html 5Html 5
Html 5
manujayarajkm
ย 
SEO-Presentation.pdf
SEO-Presentation.pdfSEO-Presentation.pdf
SEO-Presentation.pdf
introtodigital
ย 
Technical SEO
Technical SEOTechnical SEO
Technical SEO
Natacha Gajdoczki
ย 
Google Tag Manager (GTM)
Google Tag Manager (GTM)Google Tag Manager (GTM)
Google Tag Manager (GTM)
Dragos Ionita
ย 
Introduction to Swagger
Introduction to SwaggerIntroduction to Swagger
Introduction to Swagger
Knoldus Inc.
ย 
Basic Wordpress PPT
Basic Wordpress PPT Basic Wordpress PPT
Basic Wordpress PPT
mayur akabari
ย 
Basic WordPress Workshop Presentation
Basic WordPress Workshop PresentationBasic WordPress Workshop Presentation
Basic WordPress Workshop Presentation
Felix Albutra
ย 
Swagger / Quick Start Guide
Swagger / Quick Start GuideSwagger / Quick Start Guide
Swagger / Quick Start Guide
Andrii Gakhov
ย 
Cookies and sessions
Cookies and sessionsCookies and sessions
Cookies and sessions
Sukrit Gupta
ย 
WordPress Webinar Training Presentation
WordPress Webinar Training PresentationWordPress Webinar Training Presentation
WordPress Webinar Training Presentation
MayeCreate Design
ย 
2. seo (lecture notes)
2. seo (lecture notes)2. seo (lecture notes)
2. seo (lecture notes)
Ebele uchendu
ย 
Web Analytics 101
Web Analytics 101Web Analytics 101
Web Analytics 101
Nilotpal Paul
ย 
On page SEO
On page SEOOn page SEO
On page SEO
Animon2019
ย 
Web Performance: 3 Stages to Success
Web Performance: 3 Stages to SuccessWeb Performance: 3 Stages to Success
Web Performance: 3 Stages to Success
Austin Gil
ย 
Introduction to WordPress
Introduction to WordPressIntroduction to WordPress
Introduction to WordPress
LumosTech
ย 
Google Search Console
Google Search ConsoleGoogle Search Console
Google Search Console
Hekmat Sarwarzada
ย 
Different Types Of Websites - With Basic Information
Different Types Of Websites - With Basic InformationDifferent Types Of Websites - With Basic Information
Different Types Of Websites - With Basic Information
Afzal Hameed
ย 
Wordpress
WordpressWordpress
Wordpress
lexinamer
ย 
SEO-Presentation.pdf
SEO-Presentation.pdfSEO-Presentation.pdf
SEO-Presentation.pdf
introtodigital
ย 
Google Tag Manager (GTM)
Google Tag Manager (GTM)Google Tag Manager (GTM)
Google Tag Manager (GTM)
Dragos Ionita
ย 

Similar to Wordpress optimization (20)

23 Ways To Speed Up WordPress
23 Ways To Speed Up WordPress23 Ways To Speed Up WordPress
23 Ways To Speed Up WordPress
Zero Point Development
ย 
How do you speed up your (Wordpress) website?
How do you speed up your (Wordpress) website?How do you speed up your (Wordpress) website?
How do you speed up your (Wordpress) website?
Aranere
ย 
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
Jess Coburn
ย 
Understanding Web Cache
Understanding Web CacheUnderstanding Web Cache
Understanding Web Cache
ProdigyView
ย 
Optimizing WordPress for Performance - WordCamp Houston
Optimizing WordPress for Performance - WordCamp HoustonOptimizing WordPress for Performance - WordCamp Houston
Optimizing WordPress for Performance - WordCamp Houston
Chris Olbekson
ย 
Speed!
Speed!Speed!
Speed!
Rafael Corral
ย 
Analysis of Google Page Speed Insight
Analysis of Google Page Speed InsightAnalysis of Google Page Speed Insight
Analysis of Google Page Speed Insight
Sarvesh Sonawane
ย 
Turbocharging php applications with zend server (workshop)
Turbocharging php applications with zend server (workshop)Turbocharging php applications with zend server (workshop)
Turbocharging php applications with zend server (workshop)
Eric Ritchie
ย 
Optimizing Your Frontend Performance
Optimizing Your Frontend PerformanceOptimizing Your Frontend Performance
Optimizing Your Frontend Performance
Thomas Weinert
ย 
Speed Up WordPress Websites - Part 1 - WordPress Cairo Meetup
Speed Up WordPress Websites - Part 1 - WordPress Cairo MeetupSpeed Up WordPress Websites - Part 1 - WordPress Cairo Meetup
Speed Up WordPress Websites - Part 1 - WordPress Cairo Meetup
Ahmed Mohammed Nagdy
ย 
A faster web
A faster webA faster web
A faster web
Bakani Pilime
ย 
DrupalCampLA 2011 - Drupal frontend-optimizing
DrupalCampLA 2011 - Drupal frontend-optimizingDrupalCampLA 2011 - Drupal frontend-optimizing
DrupalCampLA 2011 - Drupal frontend-optimizing
Ashok Modi
ย 
Tips for a Faster Website
Tips for a Faster WebsiteTips for a Faster Website
Tips for a Faster Website
Rayed Alrashed
ย 
Joomla! Performance on Steroids
Joomla! Performance on SteroidsJoomla! Performance on Steroids
Joomla! Performance on Steroids
SiteGround.com
ย 
Caching 101
Caching 101Caching 101
Caching 101
Andy Melichar
ย 
My Site is slow - Drupal Camp London 2013
My Site is slow - Drupal Camp London 2013My Site is slow - Drupal Camp London 2013
My Site is slow - Drupal Camp London 2013
hernanibf
ย 
High Performance Ajax Applications
High Performance Ajax ApplicationsHigh Performance Ajax Applications
High Performance Ajax Applications
Siarhei Barysiuk
ย 
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
Spiffy
ย 
Optimizing the performance of WordPress
Optimizing the performance of WordPressOptimizing the performance of WordPress
Optimizing the performance of WordPress
Josh Highland Giese
ย 
How_To_Soup_Up_Your_Farm
How_To_Soup_Up_Your_FarmHow_To_Soup_Up_Your_Farm
How_To_Soup_Up_Your_Farm
Nigel Price
ย 
23 Ways To Speed Up WordPress
23 Ways To Speed Up WordPress23 Ways To Speed Up WordPress
23 Ways To Speed Up WordPress
Zero Point Development
ย 
How do you speed up your (Wordpress) website?
How do you speed up your (Wordpress) website?How do you speed up your (Wordpress) website?
How do you speed up your (Wordpress) website?
Aranere
ย 
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
Jess Coburn
ย 
Understanding Web Cache
Understanding Web CacheUnderstanding Web Cache
Understanding Web Cache
ProdigyView
ย 
Optimizing WordPress for Performance - WordCamp Houston
Optimizing WordPress for Performance - WordCamp HoustonOptimizing WordPress for Performance - WordCamp Houston
Optimizing WordPress for Performance - WordCamp Houston
Chris Olbekson
ย 
Analysis of Google Page Speed Insight
Analysis of Google Page Speed InsightAnalysis of Google Page Speed Insight
Analysis of Google Page Speed Insight
Sarvesh Sonawane
ย 
Turbocharging php applications with zend server (workshop)
Turbocharging php applications with zend server (workshop)Turbocharging php applications with zend server (workshop)
Turbocharging php applications with zend server (workshop)
Eric Ritchie
ย 
Optimizing Your Frontend Performance
Optimizing Your Frontend PerformanceOptimizing Your Frontend Performance
Optimizing Your Frontend Performance
Thomas Weinert
ย 
Speed Up WordPress Websites - Part 1 - WordPress Cairo Meetup
Speed Up WordPress Websites - Part 1 - WordPress Cairo MeetupSpeed Up WordPress Websites - Part 1 - WordPress Cairo Meetup
Speed Up WordPress Websites - Part 1 - WordPress Cairo Meetup
Ahmed Mohammed Nagdy
ย 
A faster web
A faster webA faster web
A faster web
Bakani Pilime
ย 
DrupalCampLA 2011 - Drupal frontend-optimizing
DrupalCampLA 2011 - Drupal frontend-optimizingDrupalCampLA 2011 - Drupal frontend-optimizing
DrupalCampLA 2011 - Drupal frontend-optimizing
Ashok Modi
ย 
Tips for a Faster Website
Tips for a Faster WebsiteTips for a Faster Website
Tips for a Faster Website
Rayed Alrashed
ย 
Joomla! Performance on Steroids
Joomla! Performance on SteroidsJoomla! Performance on Steroids
Joomla! Performance on Steroids
SiteGround.com
ย 
Caching 101
Caching 101Caching 101
Caching 101
Andy Melichar
ย 
My Site is slow - Drupal Camp London 2013
My Site is slow - Drupal Camp London 2013My Site is slow - Drupal Camp London 2013
My Site is slow - Drupal Camp London 2013
hernanibf
ย 
High Performance Ajax Applications
High Performance Ajax ApplicationsHigh Performance Ajax Applications
High Performance Ajax Applications
Siarhei Barysiuk
ย 
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
Spiffy
ย 
Optimizing the performance of WordPress
Optimizing the performance of WordPressOptimizing the performance of WordPress
Optimizing the performance of WordPress
Josh Highland Giese
ย 
How_To_Soup_Up_Your_Farm
How_To_Soup_Up_Your_FarmHow_To_Soup_Up_Your_Farm
How_To_Soup_Up_Your_Farm
Nigel Price
ย 
Ad

More from Almog Baku (7)

gRPC in Go
gRPC in GogRPC in Go
gRPC in Go
Almog Baku
ย 
Android is going to Go! Android and Golang
Android is going to Go! Android and GolangAndroid is going to Go! Android and Golang
Android is going to Go! Android and Golang
Almog Baku
ย 
Symfony2 form type
Symfony2 form typeSymfony2 form type
Symfony2 form type
Almog Baku
ย 
Build REST APIs like a Jedi with Symfony2
Build REST APIs like a Jedi with Symfony2Build REST APIs like a Jedi with Symfony2
Build REST APIs like a Jedi with Symfony2
Almog Baku
ย 
Build REST API clients for AngularJS
Build REST API clients for AngularJSBuild REST API clients for AngularJS
Build REST API clients for AngularJS
Almog Baku
ย 
Turbo theming: Introduction to Sass & Compass
Turbo theming: Introduction to Sass & CompassTurbo theming: Introduction to Sass & Compass
Turbo theming: Introduction to Sass & Compass
Almog Baku
ย 
Drupal & javascript
Drupal & javascriptDrupal & javascript
Drupal & javascript
Almog Baku
ย 
gRPC in Go
gRPC in GogRPC in Go
gRPC in Go
Almog Baku
ย 
Android is going to Go! Android and Golang
Android is going to Go! Android and GolangAndroid is going to Go! Android and Golang
Android is going to Go! Android and Golang
Almog Baku
ย 
Symfony2 form type
Symfony2 form typeSymfony2 form type
Symfony2 form type
Almog Baku
ย 
Build REST APIs like a Jedi with Symfony2
Build REST APIs like a Jedi with Symfony2Build REST APIs like a Jedi with Symfony2
Build REST APIs like a Jedi with Symfony2
Almog Baku
ย 
Build REST API clients for AngularJS
Build REST API clients for AngularJSBuild REST API clients for AngularJS
Build REST API clients for AngularJS
Almog Baku
ย 
Turbo theming: Introduction to Sass & Compass
Turbo theming: Introduction to Sass & CompassTurbo theming: Introduction to Sass & Compass
Turbo theming: Introduction to Sass & Compass
Almog Baku
ย 
Drupal & javascript
Drupal & javascriptDrupal & javascript
Drupal & javascript
Almog Baku
ย 
Ad

Recently uploaded (20)

AI and Data Privacy in 2025: Global Trends
AI and Data Privacy in 2025: Global TrendsAI and Data Privacy in 2025: Global Trends
AI and Data Privacy in 2025: Global Trends
InData Labs
ย 
How Can I use the AI Hype in my Business Context?
How Can I use the AI Hype in my Business Context?How Can I use the AI Hype in my Business Context?
How Can I use the AI Hype in my Business Context?
Daniel Lehner
ย 
Manifest Pre-Seed Update | A Humanoid OEM Deeptech In France
Manifest Pre-Seed Update | A Humanoid OEM Deeptech In FranceManifest Pre-Seed Update | A Humanoid OEM Deeptech In France
Manifest Pre-Seed Update | A Humanoid OEM Deeptech In France
chb3
ย 
UiPath Community Berlin: Orchestrator API, Swagger, and Test Manager API
UiPath Community Berlin: Orchestrator API, Swagger, and Test Manager APIUiPath Community Berlin: Orchestrator API, Swagger, and Test Manager API
UiPath Community Berlin: Orchestrator API, Swagger, and Test Manager API
UiPathCommunity
ย 
Transcript: #StandardsGoals for 2025: Standards & certification roundup - Tec...
Transcript: #StandardsGoals for 2025: Standards & certification roundup - Tec...Transcript: #StandardsGoals for 2025: Standards & certification roundup - Tec...
Transcript: #StandardsGoals for 2025: Standards & certification roundup - Tec...
BookNet Canada
ย 
Role of Data Annotation Services in AI-Powered Manufacturing
Role of Data Annotation Services in AI-Powered ManufacturingRole of Data Annotation Services in AI-Powered Manufacturing
Role of Data Annotation Services in AI-Powered Manufacturing
Andrew Leo
ย 
What is Model Context Protocol(MCP) - The new technology for communication bw...
What is Model Context Protocol(MCP) - The new technology for communication bw...What is Model Context Protocol(MCP) - The new technology for communication bw...
What is Model Context Protocol(MCP) - The new technology for communication bw...
Vishnu Singh Chundawat
ย 
IEDM 2024 Tutorial2_Advances in CMOS Technologies and Future Directions for C...
IEDM 2024 Tutorial2_Advances in CMOS Technologies and Future Directions for C...IEDM 2024 Tutorial2_Advances in CMOS Technologies and Future Directions for C...
IEDM 2024 Tutorial2_Advances in CMOS Technologies and Future Directions for C...
organizerofv
ย 
Complete Guide to Advanced Logistics Management Software in Riyadh.pdf
Complete Guide to Advanced Logistics Management Software in Riyadh.pdfComplete Guide to Advanced Logistics Management Software in Riyadh.pdf
Complete Guide to Advanced Logistics Management Software in Riyadh.pdf
Software Company
ย 
AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...
AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...
AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...
SOFTTECHHUB
ย 
Build Your Own Copilot & Agents For Devs
Build Your Own Copilot & Agents For DevsBuild Your Own Copilot & Agents For Devs
Build Your Own Copilot & Agents For Devs
Brian McKeiver
ย 
Cyber Awareness overview for 2025 month of security
Cyber Awareness overview for 2025 month of securityCyber Awareness overview for 2025 month of security
Cyber Awareness overview for 2025 month of security
riccardosl1
ย 
Noah Loul Shares 5 Steps to Implement AI Agents for Maximum Business Efficien...
Noah Loul Shares 5 Steps to Implement AI Agents for Maximum Business Efficien...Noah Loul Shares 5 Steps to Implement AI Agents for Maximum Business Efficien...
Noah Loul Shares 5 Steps to Implement AI Agents for Maximum Business Efficien...
Noah Loul
ย 
SAP Modernization: Maximizing the Value of Your SAP S/4HANA Migration.pdf
SAP Modernization: Maximizing the Value of Your SAP S/4HANA Migration.pdfSAP Modernization: Maximizing the Value of Your SAP S/4HANA Migration.pdf
SAP Modernization: Maximizing the Value of Your SAP S/4HANA Migration.pdf
Precisely
ย 
The Evolution of Meme Coins A New Era for Digital Currency ppt.pdf
The Evolution of Meme Coins A New Era for Digital Currency ppt.pdfThe Evolution of Meme Coins A New Era for Digital Currency ppt.pdf
The Evolution of Meme Coins A New Era for Digital Currency ppt.pdf
Abi john
ย 
Drupalcamp Finland โ€“ Measuring Front-end Energy Consumption
Drupalcamp Finland โ€“ Measuring Front-end Energy ConsumptionDrupalcamp Finland โ€“ Measuring Front-end Energy Consumption
Drupalcamp Finland โ€“ Measuring Front-end Energy Consumption
Exove
ย 
Massive Power Outage Hits Spain, Portugal, and France: Causes, Impact, and On...
Massive Power Outage Hits Spain, Portugal, and France: Causes, Impact, and On...Massive Power Outage Hits Spain, Portugal, and France: Causes, Impact, and On...
Massive Power Outage Hits Spain, Portugal, and France: Causes, Impact, and On...
Aqusag Technologies
ย 
Rusty Waters: Elevating Lakehouses Beyond Spark
Rusty Waters: Elevating Lakehouses Beyond SparkRusty Waters: Elevating Lakehouses Beyond Spark
Rusty Waters: Elevating Lakehouses Beyond Spark
carlyakerly1
ย 
Increasing Retail Store Efficiency How can Planograms Save Time and Money.pptx
Increasing Retail Store Efficiency How can Planograms Save Time and Money.pptxIncreasing Retail Store Efficiency How can Planograms Save Time and Money.pptx
Increasing Retail Store Efficiency How can Planograms Save Time and Money.pptx
Anoop Ashok
ย 
Technology Trends in 2025: AI and Big Data Analytics
Technology Trends in 2025: AI and Big Data AnalyticsTechnology Trends in 2025: AI and Big Data Analytics
Technology Trends in 2025: AI and Big Data Analytics
InData Labs
ย 
AI and Data Privacy in 2025: Global Trends
AI and Data Privacy in 2025: Global TrendsAI and Data Privacy in 2025: Global Trends
AI and Data Privacy in 2025: Global Trends
InData Labs
ย 
How Can I use the AI Hype in my Business Context?
How Can I use the AI Hype in my Business Context?How Can I use the AI Hype in my Business Context?
How Can I use the AI Hype in my Business Context?
Daniel Lehner
ย 
Manifest Pre-Seed Update | A Humanoid OEM Deeptech In France
Manifest Pre-Seed Update | A Humanoid OEM Deeptech In FranceManifest Pre-Seed Update | A Humanoid OEM Deeptech In France
Manifest Pre-Seed Update | A Humanoid OEM Deeptech In France
chb3
ย 
UiPath Community Berlin: Orchestrator API, Swagger, and Test Manager API
UiPath Community Berlin: Orchestrator API, Swagger, and Test Manager APIUiPath Community Berlin: Orchestrator API, Swagger, and Test Manager API
UiPath Community Berlin: Orchestrator API, Swagger, and Test Manager API
UiPathCommunity
ย 
Transcript: #StandardsGoals for 2025: Standards & certification roundup - Tec...
Transcript: #StandardsGoals for 2025: Standards & certification roundup - Tec...Transcript: #StandardsGoals for 2025: Standards & certification roundup - Tec...
Transcript: #StandardsGoals for 2025: Standards & certification roundup - Tec...
BookNet Canada
ย 
Role of Data Annotation Services in AI-Powered Manufacturing
Role of Data Annotation Services in AI-Powered ManufacturingRole of Data Annotation Services in AI-Powered Manufacturing
Role of Data Annotation Services in AI-Powered Manufacturing
Andrew Leo
ย 
What is Model Context Protocol(MCP) - The new technology for communication bw...
What is Model Context Protocol(MCP) - The new technology for communication bw...What is Model Context Protocol(MCP) - The new technology for communication bw...
What is Model Context Protocol(MCP) - The new technology for communication bw...
Vishnu Singh Chundawat
ย 
IEDM 2024 Tutorial2_Advances in CMOS Technologies and Future Directions for C...
IEDM 2024 Tutorial2_Advances in CMOS Technologies and Future Directions for C...IEDM 2024 Tutorial2_Advances in CMOS Technologies and Future Directions for C...
IEDM 2024 Tutorial2_Advances in CMOS Technologies and Future Directions for C...
organizerofv
ย 
Complete Guide to Advanced Logistics Management Software in Riyadh.pdf
Complete Guide to Advanced Logistics Management Software in Riyadh.pdfComplete Guide to Advanced Logistics Management Software in Riyadh.pdf
Complete Guide to Advanced Logistics Management Software in Riyadh.pdf
Software Company
ย 
AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...
AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...
AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...
SOFTTECHHUB
ย 
Build Your Own Copilot & Agents For Devs
Build Your Own Copilot & Agents For DevsBuild Your Own Copilot & Agents For Devs
Build Your Own Copilot & Agents For Devs
Brian McKeiver
ย 
Cyber Awareness overview for 2025 month of security
Cyber Awareness overview for 2025 month of securityCyber Awareness overview for 2025 month of security
Cyber Awareness overview for 2025 month of security
riccardosl1
ย 
Noah Loul Shares 5 Steps to Implement AI Agents for Maximum Business Efficien...
Noah Loul Shares 5 Steps to Implement AI Agents for Maximum Business Efficien...Noah Loul Shares 5 Steps to Implement AI Agents for Maximum Business Efficien...
Noah Loul Shares 5 Steps to Implement AI Agents for Maximum Business Efficien...
Noah Loul
ย 
SAP Modernization: Maximizing the Value of Your SAP S/4HANA Migration.pdf
SAP Modernization: Maximizing the Value of Your SAP S/4HANA Migration.pdfSAP Modernization: Maximizing the Value of Your SAP S/4HANA Migration.pdf
SAP Modernization: Maximizing the Value of Your SAP S/4HANA Migration.pdf
Precisely
ย 
The Evolution of Meme Coins A New Era for Digital Currency ppt.pdf
The Evolution of Meme Coins A New Era for Digital Currency ppt.pdfThe Evolution of Meme Coins A New Era for Digital Currency ppt.pdf
The Evolution of Meme Coins A New Era for Digital Currency ppt.pdf
Abi john
ย 
Drupalcamp Finland โ€“ Measuring Front-end Energy Consumption
Drupalcamp Finland โ€“ Measuring Front-end Energy ConsumptionDrupalcamp Finland โ€“ Measuring Front-end Energy Consumption
Drupalcamp Finland โ€“ Measuring Front-end Energy Consumption
Exove
ย 
Massive Power Outage Hits Spain, Portugal, and France: Causes, Impact, and On...
Massive Power Outage Hits Spain, Portugal, and France: Causes, Impact, and On...Massive Power Outage Hits Spain, Portugal, and France: Causes, Impact, and On...
Massive Power Outage Hits Spain, Portugal, and France: Causes, Impact, and On...
Aqusag Technologies
ย 
Rusty Waters: Elevating Lakehouses Beyond Spark
Rusty Waters: Elevating Lakehouses Beyond SparkRusty Waters: Elevating Lakehouses Beyond Spark
Rusty Waters: Elevating Lakehouses Beyond Spark
carlyakerly1
ย 
Increasing Retail Store Efficiency How can Planograms Save Time and Money.pptx
Increasing Retail Store Efficiency How can Planograms Save Time and Money.pptxIncreasing Retail Store Efficiency How can Planograms Save Time and Money.pptx
Increasing Retail Store Efficiency How can Planograms Save Time and Money.pptx
Anoop Ashok
ย 
Technology Trends in 2025: AI and Big Data Analytics
Technology Trends in 2025: AI and Big Data AnalyticsTechnology Trends in 2025: AI and Big Data Analytics
Technology Trends in 2025: AI and Big Data Analytics
InData Labs
ย 

Wordpress optimization

  • 1. Wordpress optimization { Speed up your wordpress
  • 5. What are we going to talk about? How to improve your wordpress performance. Speed up your website over than 700% faster!
  • 6. What are we going to talk about? 1. Huh? Performance? 2. How do I analyze my wordpress performance? 3. How to optimize!
  • 7. Hey.. Wait a second! Why should I do it? 1. Why not? 2. It will save you money! $$$$ 3. Make your users happy ๏Š ๏Š ๏Š 4. Stay up under heavy load.. 5. Improve your google results!
  • 8. What does it mean โ€œPerformanceโ€? Loading time is influenced by Hardware Services Requests Better hosting Configurations Caching Better hardware 3rd party serviced Right Development (varnish, cdn..,apc) Location
  • 9. What does it mean โ€œrequestsโ€?
  • 14. What does it mean โ€œPerformanceโ€? There are two states: Deploy Production 1 user = request at time multiple users = multiple request low hardware high hardware
  • 15. Analyzing tools There are few tools to analyze our website: 1. Feeling - the website went slow 2. Requests analyzing tools 3. By-subject analyzing tools 4. Wordpress analyzing
  • 17. Requests analyzing webpagetest.org Allowing test with different engines, and test within first view or repeated.. And much more
  • 23. Wordpress analyzing Wordpress plugin: P3 P3 is analyzing your plugins and provide an detailed analysis.
  • 26. How to optimize! The obvious: 1. Keep your wordpress updated! (core & plugins) 2. Deactivate unused plugins 3. Check about the plugin before install it. 4. Analyze your website.. Duh?
  • 27. Optimize server Use linux! โ€ข Configure the PHP as well - increase memory, timeout.. โ€ข Configure MySQL as well - some innodb issues may slow your website
  • 28. Optimize server โ€ข Use opcode accelerators - APC, Xcache, memcache โ€ข Varnish โ€ข Consider replacing apache2 with nginx
  • 29. Development optimizations Remember this? Because our browser have many requests, the loading time much longer. So, lets try to reduce the requests!
  • 30. Development optimizations Use sprites! Sprites make the browser load all the images at once and reducing new requests.
  • 31. Development optimizations Minify and aggregation 1. Aggregate all the resources(js, css, image->sprites) 2. Aggregation is reducing the requests 3. Minifying all the resources(html, css, js) 4. Minifying is speeding up your loading!
  • 32. Development optimizations Javascript 1. Make your ajax scripts cacheable 2. Reduce document ready events. 3. Reduce jQuery queries! โ€“ every query is scanning the whole webpage! use canonical finding instead: var $section = $("#section"); $section.find(".class").text("cool");
  • 33. Development optimizations Write semantic and valid code! 1. Separate code from style: markup shouldn't contains style elements. 2. Use CSSโ€™s pseudo class โ€œ:beforeโ€ and โ€œ:afterโ€ 3. Use CSS3 features(gradient, shadowโ€ฆ)
  • 34. Development optimizations Write semantic code by the html5 rules! <header role="banner"> <h1><a href="http://link.com/" title="Website" rel="home">Logo</a></h1> <nav role="navigation"><ul> <li class="current"><a href="http://link.com/" title="Home">Home</a></li> <li class="page_item"><a href="http://link.com/About">About</a></li> </ul></nav> </header> <section id="content"> <article id="post-19" class="post-19 post type-post"> โ€ฆ </article> <article id="post-21" class="post-21 post type-post"> โ€ฆ </article> </section> <footer> โ€ฆ </footer>
  • 35. Development optimizations Images 1. DO NOT scale images with CSS! 2. Save images for web 3. You may use www.smush.it or WP-Smush.it plugin
  • 36. Development optimizations Set properly headers for browser-caching Set expire headers, e-tags, etc.. GZip everything! Compress your source files(css, js, html) with gzip.. It will accelerate your loading time.
  • 37. What is cache? Database Web Server This is really long way.. And actually.. Itโ€™s the same result!
  • 38. What is cache? Cache is the way to access distant data faster by storing it locally.
  • 39. Server-side cache Every request for each page is making our website rebuild this page using the database our theme, and much more.. Database Request homepage Server But, actually- our page hasnโ€™t been changed.
  • 40. Cache optimizations So.. Why havenโ€™t we cache this pages?! Cached page is page cached? Database Request homepage Server
  • 41. Cache optimizations April 2010 results..
  • 42. Cache optimizations April 2010 results..
  • 43. Cache optimizations There are two leading plugins: 1. W3 Total Cache โ€“ complex, but cover much everything! Including CDN, minifying, aggregation, and much more.. 2. WP Super Cache โ€“ much simpler! Almost automatic.. Handle only caching.
  • 44. CDN
  • 45. Server CDN 1s 3s 1s 3.5s 8s 7s 15s 18s
  • 46. Server CDN 1s 1.5s js 1s 1.5s CDN img CDN 1.5s css 2s CDN 1s 1.2s
  • 47. CDN 1. Use Googleโ€™s CDN for jQuery by โ€œuse-google-librariesโ€ plugin 2. If you have serious traffic you may use enterprise CDN
  • 48. HARDCODE! 1. Use separate server for database server 2. Use HyperDB for multiple database servers 3. Use Memcache on separate server 4. Use nginx 5. Develop you plugin using the wordpress cache api!
  • 49. MOST IMPORTANT! NEVER EVER hack the core.