SlideShare a Scribd company logo
Speed up Your WordPress Site
Agenda
- Understand the ‘Page Speed’ Term
- Why faster?
- Run The Speed Test Properly
- Speed Up Your WordPress Site
Understand the ‘Page Speed’ Term
The length of time at which web page is downloaded from hosting
servers and displayed onto the web browser.
Why faster?
- 1 in 4 (25%) visitors abandon the website if it takes more than 4 seconds to load.
- 46% of users don’t revisit poorly performing websites.
- Website owners have a mere 5 seconds to engage visitors before they leave.
- 74 % of users accessing the mobile site would leave if it takes longer than 5
seconds to load.
- Every one-second delay in page load time could lead to $1.6 billion in annual
losses for online merchants as big as Amazon.
- SEO benefits, more profit, more downloads, and the list goes..
Run The Speed Test Properly
1. Enable and configure Caching.
2. Enable and configure CDN.
3. Choose the test location. It has to be close to your hosting server.
4. Test multiple times!
Speed Up WordPress Websites - Part 1 - WordPress Cairo Meetup
Speed Up Your WordPress Site
• WordPress website types
• Hosting
• DNS: Free vs Premium
• Image Optimization
• CDN or/and Offload Media
• Themes and Plugins
• WordPress Tweaks
• Caching
• Optimize Mobile First
WordPress Websites Types
Static / Small
- Blog
- Business Portfolio
- Personal
The content does not change very
often. Content can be served from
cache.
Dynamic / Large
- eCommerce (WC,EDD)
- Membership
- LMS
Content is changing frequently.
Can’t be served from Cache and
server resources are needed.
Hosting
- Shared Hosting
- DIY VPS
- Managed Hosting
-- PHP 7 (or the latest)
-- NGiNX
-- HTTP/2
-- Server Location
Hosting - Shared Hosting
- Starts from less than $3 per month. (Renewal is different!)
- Crowded servers -> Slowness
(GoDaddy, BlueHost, HostGator)
YOU GET WHAT YOU PAY FOR!
Hosting - DIY VPS
- Do everything yourself
- Starts from $5
- Perfect for people who know what they’re doing.
(Digital Ocean, Vultr)
Hosting - Managed Hosting
- aka Managed WordPress Hosting
- Server-level caching
- Excellent customer support
- Staging, backups
WPEngine, Kinsta, Cloudways, SiteGround
Google (WordPress Cloud Hosting | Google Cloud) and Amazon
(Amazon Lightsail)
Hosting - PHP Version
Stick with the latest PHP version.
More secure and faster.
Hosting - NGiNX
- Apache powers 43.3%
of all websites
- NGINX powers 67.2%
of top 10,000 websites
Nginx is faster!
Hosting - HTTP/2
What’s HTTP?
Hyper Text Transfer Protocol is designed to enable communications
between clients (such as web browsers) and servers (web server).
Hosting - HTTP/2
HTTP/2 has many features
- Multi-host multiplexing
- Header compression
- Stream prioritization
To test if your hosting support HTTP/2
https://http2.pro/
which leads to
Better performance for both desktop and mobile users.
Hosting - Server Location
Choose a Server Closest to Your Visitors
- Reduce Network Latency
- Reduce TTFB
DNS - Domain Name System
Free DNS vs Premium DNS
- You get your free DNS from your domain name registrar or your
hosting provider.
- Premium DNS provides you with reliability and speed.
Looking up DNS records and directing traffic takes time, even if it’s just
a matter of milliseconds.
- Test DNS resolving: http://www.solvedns.com/dnsspeedtest/
- Free and good DNS provider -> Cloudflare.
Images Optimization
Size vs Quality
Images Optimization
Images Optimization
Image Optimization
The primary goal of optimizing your images is to find the balance
between the lowest file size and an acceptable quality.
To achieve that; let’s have a look at 2 concepts:
- File Type: PNG, JPEG, GIF, WebP
- Compression Technique: Lossy, Lossless.
Compression Techniques
Lossy Compression
involves eliminating some of
the data in your image.
- Applied to JPEG, GIF
Lossless Compression
done by removing unnecessary
metadata (automatically
generated data produced by
the device capturing the
image)
- Applied to PNG, RAW,BMP
Let’s see both techniques in action
WordPress Plugins for Compression
- Imagify (lossy and lossless)
- WP Smush (lossy and lossless)
- EWWW Cloud (lossy and lossless)
- ShortPixel (lossy and lossless)
CDN and Offload Media
CDN stands for content delivery network.
Types of CDN
There are 2 types of CDN:
1- Traditional Pull CDN
2- Reverse Proxy CDN
CDN Speed Test
Our test site located at USA and we’re running the test from London,
UK
Decrease the
page load times
by 43.2%!
TTFB with CDN
Without CDN
98 ms
With CDN
15 ms
CDN Benefits
- Boost Performance
- Reduces TTFB
- Faster Delivery With Caching
- Uses HTTP/2
- Lower Bandwidth Costs
- High Availability and Scalability
- Improves SEO, of course!
CDN Providers
- KeyCDN
- Cloudflare
- StackPath (Previously MaxCDN)
- CDN77
- Amazon CloudFront
- Fastly
Offload Media (Assets)
What is meant by Offloading?
When you offload media or files it means actually moving the original
physical location of them off of your hosting provider.
Extremely useful for sites with hosting hundreds of thousands of files or
large media.
Offloading Solutions
- Amazon S3
- Google Cloud Storage
You can also Offload your emails.
Marketing Emails -> Mailchimp, Drip, …
Service Emails - > SendGrid, Mailgun, ...
Speed Up Your WordPress Site
• WordPress website types
• Hosting
• DNS: Free vs Premium
• Image Optimization
• CDN or/and Offload Media
• Themes and Plugins
• WordPress Tweaks
• Caching
• Optimize Mobile First
Speed Up WordPress Websites - Part 1 - WordPress Cairo Meetup

More Related Content

PDF
WordCamp RVA 2011 - Performance & Tuning
PPTX
Learn WordPress - Live Session 2 Slides
PDF
High Performance - Joomla!Days NL 2009 #jd09nl
PPT
ZIP
High Performance WordPress - WordCamp Jerusalem 2010
PDF
Cdn slides
PPTX
Wordpress optimization
PPT
High Performance WordPress
WordCamp RVA 2011 - Performance & Tuning
Learn WordPress - Live Session 2 Slides
High Performance - Joomla!Days NL 2009 #jd09nl
High Performance WordPress - WordCamp Jerusalem 2010
Cdn slides
Wordpress optimization
High Performance WordPress

What's hot (19)

PPT
ServerBeach and WordPress BlogWorldExpo 2007
PPTX
Reducing latency on the web with the Azure CDN- TechDays NL 2014
PPTX
Presentation1
PPTX
Reducing latency on the web with the Azure CDN - DevSum - SWAG
PDF
23 Ways To Speed Up WordPress
PPT
Configuring Apache Servers for Better Web Perormance
PDF
High Performance WordPress II
PDF
WordPress Optimization Tips for Performance & Speed
PPTX
Caching 101
KEY
Performance Tuning - MuraCon 2012
PDF
WordPress At Scale. WordCamp Dhaka 2019
PDF
Improve WordPress Website Performance with a Content Delivery Network: Better...
PDF
Web performance mercadolibre - ECI 2013
PPT
Latinoware 2008
PDF
How to speed up your website
PPTX
Внедрение протокола SPDY в социальной сети LinkedIn, Omer Shapira (LinkedIn)
PPT
Web Application Optimization Techniques
PDF
WordPress at Peak Performance (Radio Edit)
PDF
SSDs are Awesome
ServerBeach and WordPress BlogWorldExpo 2007
Reducing latency on the web with the Azure CDN- TechDays NL 2014
Presentation1
Reducing latency on the web with the Azure CDN - DevSum - SWAG
23 Ways To Speed Up WordPress
Configuring Apache Servers for Better Web Perormance
High Performance WordPress II
WordPress Optimization Tips for Performance & Speed
Caching 101
Performance Tuning - MuraCon 2012
WordPress At Scale. WordCamp Dhaka 2019
Improve WordPress Website Performance with a Content Delivery Network: Better...
Web performance mercadolibre - ECI 2013
Latinoware 2008
How to speed up your website
Внедрение протокола SPDY в социальной сети LinkedIn, Omer Shapira (LinkedIn)
Web Application Optimization Techniques
WordPress at Peak Performance (Radio Edit)
SSDs are Awesome
Ad

Similar to Speed Up WordPress Websites - Part 1 - WordPress Cairo Meetup (20)

PPTX
Optimizing Your WordPress Site: Why speed matters, and how to get there
PPTX
Optimizing your WordPress website
PPTX
I Can Haz More Performanz?
PDF
Optimizing the performance of WordPress
PDF
Introduction to Optimizing WordPress for Website Speed
PPTX
Breaking the Speed Limit: Faster Websites Win
PDF
Wp Host - Best Hosting Service Provider.
PDF
Speed Up Wordpress Wordcamp Pdx 2009
PDF
Website speed optimization guide for technically advanced webmasters
PDF
How to Fix a Slow WordPress Site (and get A+ scores)
PPTX
Speed up your site! #wcmtl2015 by Meagan Hanes
PPTX
Optimizing Your Site for Holiday Traffic
PDF
How to Improve your Website Performance
PPTX
SearchLove San Diego 2018 | Mat Clayton | Site Speed for Digital Marketers
PDF
WordCamp RVA
PDF
WordCamp RVA 2011 - Performance & Tuning.pdf
PDF
WordCamp RVA 2011 - Performance & Tuning.pdf
PDF
WordCamp RVA
PDF
How to make WordPress Faster in 2019
PPTX
Reducing Server Resources: Improve Costs, SEO, Conversions & UX
Optimizing Your WordPress Site: Why speed matters, and how to get there
Optimizing your WordPress website
I Can Haz More Performanz?
Optimizing the performance of WordPress
Introduction to Optimizing WordPress for Website Speed
Breaking the Speed Limit: Faster Websites Win
Wp Host - Best Hosting Service Provider.
Speed Up Wordpress Wordcamp Pdx 2009
Website speed optimization guide for technically advanced webmasters
How to Fix a Slow WordPress Site (and get A+ scores)
Speed up your site! #wcmtl2015 by Meagan Hanes
Optimizing Your Site for Holiday Traffic
How to Improve your Website Performance
SearchLove San Diego 2018 | Mat Clayton | Site Speed for Digital Marketers
WordCamp RVA
WordCamp RVA 2011 - Performance & Tuning.pdf
WordCamp RVA 2011 - Performance & Tuning.pdf
WordCamp RVA
How to make WordPress Faster in 2019
Reducing Server Resources: Improve Costs, SEO, Conversions & UX
Ad

Recently uploaded (20)

PDF
Review of recent advances in non-invasive hemoglobin estimation
PPTX
Cloud computing and distributed systems.
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PPTX
A Presentation on Artificial Intelligence
PDF
Spectral efficient network and resource selection model in 5G networks
PDF
KodekX | Application Modernization Development
PDF
Network Security Unit 5.pdf for BCA BBA.
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PDF
CIFDAQ's Market Insight: SEC Turns Pro Crypto
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
NewMind AI Monthly Chronicles - July 2025
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PPTX
Big Data Technologies - Introduction.pptx
PPTX
MYSQL Presentation for SQL database connectivity
Review of recent advances in non-invasive hemoglobin estimation
Cloud computing and distributed systems.
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
A Presentation on Artificial Intelligence
Spectral efficient network and resource selection model in 5G networks
KodekX | Application Modernization Development
Network Security Unit 5.pdf for BCA BBA.
“AI and Expert System Decision Support & Business Intelligence Systems”
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Advanced methodologies resolving dimensionality complications for autism neur...
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
CIFDAQ's Market Insight: SEC Turns Pro Crypto
Building Integrated photovoltaic BIPV_UPV.pdf
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
Unlocking AI with Model Context Protocol (MCP)
Mobile App Security Testing_ A Comprehensive Guide.pdf
NewMind AI Monthly Chronicles - July 2025
Dropbox Q2 2025 Financial Results & Investor Presentation
Big Data Technologies - Introduction.pptx
MYSQL Presentation for SQL database connectivity

Speed Up WordPress Websites - Part 1 - WordPress Cairo Meetup

  • 1. Speed up Your WordPress Site
  • 2. Agenda - Understand the ‘Page Speed’ Term - Why faster? - Run The Speed Test Properly - Speed Up Your WordPress Site
  • 3. Understand the ‘Page Speed’ Term The length of time at which web page is downloaded from hosting servers and displayed onto the web browser.
  • 4. Why faster? - 1 in 4 (25%) visitors abandon the website if it takes more than 4 seconds to load. - 46% of users don’t revisit poorly performing websites. - Website owners have a mere 5 seconds to engage visitors before they leave. - 74 % of users accessing the mobile site would leave if it takes longer than 5 seconds to load. - Every one-second delay in page load time could lead to $1.6 billion in annual losses for online merchants as big as Amazon. - SEO benefits, more profit, more downloads, and the list goes..
  • 5. Run The Speed Test Properly 1. Enable and configure Caching. 2. Enable and configure CDN. 3. Choose the test location. It has to be close to your hosting server. 4. Test multiple times!
  • 7. Speed Up Your WordPress Site • WordPress website types • Hosting • DNS: Free vs Premium • Image Optimization • CDN or/and Offload Media • Themes and Plugins • WordPress Tweaks • Caching • Optimize Mobile First
  • 8. WordPress Websites Types Static / Small - Blog - Business Portfolio - Personal The content does not change very often. Content can be served from cache. Dynamic / Large - eCommerce (WC,EDD) - Membership - LMS Content is changing frequently. Can’t be served from Cache and server resources are needed.
  • 9. Hosting - Shared Hosting - DIY VPS - Managed Hosting -- PHP 7 (or the latest) -- NGiNX -- HTTP/2 -- Server Location
  • 10. Hosting - Shared Hosting - Starts from less than $3 per month. (Renewal is different!) - Crowded servers -> Slowness (GoDaddy, BlueHost, HostGator) YOU GET WHAT YOU PAY FOR!
  • 11. Hosting - DIY VPS - Do everything yourself - Starts from $5 - Perfect for people who know what they’re doing. (Digital Ocean, Vultr)
  • 12. Hosting - Managed Hosting - aka Managed WordPress Hosting - Server-level caching - Excellent customer support - Staging, backups WPEngine, Kinsta, Cloudways, SiteGround Google (WordPress Cloud Hosting | Google Cloud) and Amazon (Amazon Lightsail)
  • 13. Hosting - PHP Version Stick with the latest PHP version. More secure and faster.
  • 14. Hosting - NGiNX - Apache powers 43.3% of all websites - NGINX powers 67.2% of top 10,000 websites Nginx is faster!
  • 15. Hosting - HTTP/2 What’s HTTP? Hyper Text Transfer Protocol is designed to enable communications between clients (such as web browsers) and servers (web server).
  • 16. Hosting - HTTP/2 HTTP/2 has many features - Multi-host multiplexing - Header compression - Stream prioritization To test if your hosting support HTTP/2 https://http2.pro/ which leads to Better performance for both desktop and mobile users.
  • 17. Hosting - Server Location Choose a Server Closest to Your Visitors - Reduce Network Latency - Reduce TTFB
  • 18. DNS - Domain Name System
  • 19. Free DNS vs Premium DNS - You get your free DNS from your domain name registrar or your hosting provider. - Premium DNS provides you with reliability and speed. Looking up DNS records and directing traffic takes time, even if it’s just a matter of milliseconds. - Test DNS resolving: http://www.solvedns.com/dnsspeedtest/ - Free and good DNS provider -> Cloudflare.
  • 23. Image Optimization The primary goal of optimizing your images is to find the balance between the lowest file size and an acceptable quality. To achieve that; let’s have a look at 2 concepts: - File Type: PNG, JPEG, GIF, WebP - Compression Technique: Lossy, Lossless.
  • 24. Compression Techniques Lossy Compression involves eliminating some of the data in your image. - Applied to JPEG, GIF Lossless Compression done by removing unnecessary metadata (automatically generated data produced by the device capturing the image) - Applied to PNG, RAW,BMP Let’s see both techniques in action
  • 25. WordPress Plugins for Compression - Imagify (lossy and lossless) - WP Smush (lossy and lossless) - EWWW Cloud (lossy and lossless) - ShortPixel (lossy and lossless)
  • 26. CDN and Offload Media CDN stands for content delivery network.
  • 27. Types of CDN There are 2 types of CDN: 1- Traditional Pull CDN 2- Reverse Proxy CDN
  • 28. CDN Speed Test Our test site located at USA and we’re running the test from London, UK Decrease the page load times by 43.2%!
  • 29. TTFB with CDN Without CDN 98 ms With CDN 15 ms
  • 30. CDN Benefits - Boost Performance - Reduces TTFB - Faster Delivery With Caching - Uses HTTP/2 - Lower Bandwidth Costs - High Availability and Scalability - Improves SEO, of course!
  • 31. CDN Providers - KeyCDN - Cloudflare - StackPath (Previously MaxCDN) - CDN77 - Amazon CloudFront - Fastly
  • 32. Offload Media (Assets) What is meant by Offloading? When you offload media or files it means actually moving the original physical location of them off of your hosting provider. Extremely useful for sites with hosting hundreds of thousands of files or large media.
  • 33. Offloading Solutions - Amazon S3 - Google Cloud Storage You can also Offload your emails. Marketing Emails -> Mailchimp, Drip, … Service Emails - > SendGrid, Mailgun, ...
  • 34. Speed Up Your WordPress Site • WordPress website types • Hosting • DNS: Free vs Premium • Image Optimization • CDN or/and Offload Media • Themes and Plugins • WordPress Tweaks • Caching • Optimize Mobile First

Editor's Notes

  • #4: Page load time is the duration between clicking the link and displaying the entire content from the web page on the requesting browser.
  • #6: Test multiple times until you see everything is loading from cache
  • #9: You can't treat all WordPress sites the same when it comes to performance. Static and highly dynamic sites are two very different beasts!
  • #17: We can’t dig into HTTP/2 technical stuff, but it has so many feature that make your website performance and the communication with the hosting server much much better.
  • #18: Network Latency: Network latency refers to the time and or delay that is involved in the transmission of data over a network. In other words, how long it takes for a packet of data to go from one point to another. TTFB: stands for time to first byte. To put it simply, this is a measurement of how long the browser has to wait before receiving its first byte of data from the server.
  • #20: All you need to do to start using Cloudflare is to 1- Create a cloudflare account, it’s free. 2- Change your nameservers to the nameservers provided by Cloudflare
  • #21: Image optimization is another straightforward thing you can do which has a significant impact on your overall page load times. This isn’t optional; every site should be doing this! According to HTTP Archive, as of November 2018, images make up on average of 21% of a total webpage’s weight.
  • #22: You can
  • #24: PNG always comes in a large size, use it for simple images. Like screenshots, images with less colors. Use JPEG for colorful images. As you can apply both lossy and lossless optimization techniques to it. WebP is a new image format introduced by Google. Still not supported by all browsers. WebP lossless images are 26% smaller in size compared to PNGs. WebP lossy images are 25-34% smaller than comparable JPEG images
  • #25: By the way, WordPress compress each and every JPEG image you upload to your WordPress site. You can disable this feature if you want or set the compression ratio add_filter( 'jpeg_quality', create_function( '', 'return 100;' ) );
  • #27: These are a network of servers (also known as POPs) located around the globe. They are designed to host and deliver copies of your WordPress site’s static (and sometimes dynamic) content such as images, CSS, JavaScript, and video streams.
  • #28: Traditional pull CDNs cache a copy of all of your content and media, but a request from the client is still made directly to your hosting provider. KeyCDN and CDN77 are examples of traditional CDNs. A reverse proxy CDN is slightly different. While it still acts likes a CDN, it intercepts all incoming requests and acts as an intermediary server between the client and your host. Cloudflare and Sucuri are examples of reverse proxy CDNs. This is one reason why you have to point your DNS directly to these providers instead of your host.
  • #31: Faster Delivery With Caching: CDN has its own cache and it caches your asstes
  • #33: With a CDN the original data still resides at your host, the CDN simply has multiple copies of it. When caching expires on your CDN assets it re-queries your host for the latest copies of the files. CDNs are meant to cache files for long periods of time. But due to the fact that they have so many POPs, there could be a lot of re-querying going on as cache expires in different regions. Offload Media When you offload media or files it means actually moving the original physical location of them off of your hosting provider. So while it might appear that the files are served from your site, they are really located somewhere else entirely. Besides reducing additional queries back to the host, the number one reason obviously is to also save on disk space.