SlideShare una empresa de Scribd logo
1 de 17
Descargar para leer sin conexión
16.12.2015 - Martin Wolfert - https://wp-loft.de
Speedup your WordPress with Nginx ANd HTTP/2
OR: How to get a performant WordPress installation without real caching plugins.
About …
kid of the german „Babyboomer-Generation"
lateral entrant in IT at 1-th of January 2000
means: 15 years of Linux- & WebHosting (LAMP) knowledge
since 1998, own profession in WebDesign & PHP-Programming
WordPress user since version 2.6
Panograf (360° photography)
main profession: Operations-Architekt, working for 1&1 Internet SE 

in Karlsruhe
Big fan of north-west france & and their coasts
Redwine & Scottish Single-Malt Whisky (from Islay) gourmet
HTTP/2 Evolution
HTTP/1.0 HTTP/1.1 SPDY HTTP/2
Source: 1)
Just to mention it
Latency is the Problem

Not bandwidth!
Except video-streaming
HTTP/1.x versus HTTP/2
Source: 2)
HTTP/1.1 uses many connections between client and server. As a modern browser could
handle only 4 - 8 parallel connections on a chosen target domain. So, loading of e.g. a WordPress
Page could be really painfull.
HTTP/2, The better Protocol
(Based on the actual HTTP/2 implementation from OPenSource-NGinx 1.9.7 *)
Single, Persistent Connection : Only one connection is used for each web page. The same
connection is used as long as the web page is open.

Multiplexing : Requests and replies are multiplexed onto separate streams within the single
connection. When the connection is stable, “head of line blocking” is eliminated.

Header Compression and Binary Encoding : Headers are compressed using a new, separate, 

secure standard -HPACK compression. It reduces the amount of data crossing the network.
Header information is sent in compact, binary format, not as plain text.

SSL Encryption - HTTP/2 allows you to add SSL support with, in some cases, no performance
penalty, making your site more secure.
* lacks of Server-Push and Prioritization
HTTP/2, Streaming
Three components (ascending):
Frames
Messages
Streams
Source: 3)
HTTP/2 Multiplexing
Source: 4)
Interleave multiple requests in parallel without blocking on any one
Interleave multiple responses in parallel without blocking on any one
Use a single connection to deliver multiple requests and responses in parallel
No old HTTP/1.1 stuff like e.g. image sprites or domain sharding
HTTP/2, Waterfall-diagramm
HTTP/2, Browser-Support
Source: 5)
This little „OR“ in the Subline
The „old“ stuff:

- Handling HTTP&HTTPS Port

- Nginx-Layer

- Varnish-Layer

- Apache-PHP-Layer
The „cool“ state-of-the-art stuff:

- only HTTPS (HTTP/2) Port

- Nginx-Layer

- HHVM / PHP-FPM - Layer

- Redis-Server
Really Without Cache Plugin?
Source: 6)
To get a bit more speed „on top“, i have a
Redis-Server running on my VPS. 



Redis is a key value store who can act as
„persistent object cache“ to store e.g. 

WordPress database queries.



So … we can start discussing, if Redis works
as a cache or not :). And we could also discuss, if the Redis Object Cache
Plugin, to bind WordPress to the Redis-Server, is a typical cache plugin or
not.
My Optimizations in addition
to HTTP/2
Source: 6)
HHVM instead of PHP-FPM (with Opcache)
Fast CGI Caching, based on Nginx
Google’s mod_pagespeed, based on Nginx
- CSS & JS - minify
- DNS Prefetch
- Async Google-Analytics
- Image deduplication
- etc.
GEOIP-blocking
Fail2ban based IP-blocking
A Resulting Speed Test

(Tested with webpagetest.org)
Source: 6)
Additional Informations
https://kinsta.com/blog/the-definitive-php-7-final-version-hhvm-benchmark/
https://letsencrypt.org/
A bit self-promotion :-)



So, if you need a 360° Panorama-picture, visit my website on

http://panoramaatelier.de
For WordPress-Support and my WordPress-Blog look at
https://wp-loft.de
My personal Blog, you can find on

https://blog.lichttraeumer.de
THANK YOU !
Picture-Sources
1): „Human evolution scheme (2)“ von Human_evolution_scheme.svg: M. Gardederivative work: Gerbil (talk) -
Human_evolution_scheme.svg. Lizenziert unter CC BY-SA 3.0 über Wikimedia Commons - https://commons.wikimedia.org/wiki/
File:Human_evolution_scheme_(2).jpg#/media/File:Human_evolution_scheme_(2).jpg
2 & 3): https://www.nginx.com/wp-content/uploads/2015/09/NGINX_HTTP2_White_Paper_v4.pdf
4): http://chimera.labs.oreilly.com/books/1230000000545/ch12.html
5) http://caniuse.com/#feat=http2
6) http://www.asterix-comics.de/pics/gallisches-dorf.jpg

Más contenido relacionado

La actualidad más candente

Introduction to HTTP/2
Introduction to HTTP/2Introduction to HTTP/2
Introduction to HTTP/2Ido Flatow
 
Introduction to HTTP/2
Introduction to HTTP/2Introduction to HTTP/2
Introduction to HTTP/2Ido Flatow
 
maXbox starter46 work with Wine
maXbox starter46 work with WinemaXbox starter46 work with Wine
maXbox starter46 work with WineMax Kleiner
 
HTTP2:新的机遇与挑战
HTTP2:新的机遇与挑战HTTP2:新的机遇与挑战
HTTP2:新的机遇与挑战Jerry Qu
 
HTTP/2 Introduction
HTTP/2 IntroductionHTTP/2 Introduction
HTTP/2 IntroductionWalter Liu
 
How WP Pipes changes the Wordpress world
How WP Pipes changes the Wordpress worldHow WP Pipes changes the Wordpress world
How WP Pipes changes the Wordpress worldThong Tran
 
HTTP 2.0 – What do I need to know?
HTTP 2.0 – What do I need to know? HTTP 2.0 – What do I need to know?
HTTP 2.0 – What do I need to know? Sigma Software
 
Alex carcea, radu macovei a story of how java script joined the big league
Alex carcea, radu macovei   a story of how java script joined the big leagueAlex carcea, radu macovei   a story of how java script joined the big league
Alex carcea, radu macovei a story of how java script joined the big leagueCodecamp Romania
 
Introduction to xampp
Introduction to xamppIntroduction to xampp
Introduction to xamppJin Castor
 
Installation of wordpress
Installation of wordpressInstallation of wordpress
Installation of wordpressHAINIRMALRAJ
 
T3DD12 Caching with Varnish
T3DD12 Caching with VarnishT3DD12 Caching with Varnish
T3DD12 Caching with VarnishAOE
 
Ruby Installation
Ruby InstallationRuby Installation
Ruby InstallationSHC
 
Installation of LAMP Server with Ubuntu 14.10 Server Edition
Installation of LAMP Server with Ubuntu 14.10 Server EditionInstallation of LAMP Server with Ubuntu 14.10 Server Edition
Installation of LAMP Server with Ubuntu 14.10 Server EditionSammy Fung
 
HTTP at your local BigCo
HTTP at your local BigCoHTTP at your local BigCo
HTTP at your local BigCopgriess
 
Super performing websites with TYPO3 and Varnish
Super performing websites with TYPO3 and VarnishSuper performing websites with TYPO3 and Varnish
Super performing websites with TYPO3 and Varnishchristianjul
 
Wp migration
Wp migrationWp migration
Wp migrationcstrommer
 

La actualidad más candente (19)

Introduction to HTTP/2
Introduction to HTTP/2Introduction to HTTP/2
Introduction to HTTP/2
 
Websocket 101 in Python
Websocket 101 in PythonWebsocket 101 in Python
Websocket 101 in Python
 
Introduction to HTTP/2
Introduction to HTTP/2Introduction to HTTP/2
Introduction to HTTP/2
 
maXbox starter46 work with Wine
maXbox starter46 work with WinemaXbox starter46 work with Wine
maXbox starter46 work with Wine
 
HTTP2:新的机遇与挑战
HTTP2:新的机遇与挑战HTTP2:新的机遇与挑战
HTTP2:新的机遇与挑战
 
HTTP/2 Introduction
HTTP/2 IntroductionHTTP/2 Introduction
HTTP/2 Introduction
 
How WP Pipes changes the Wordpress world
How WP Pipes changes the Wordpress worldHow WP Pipes changes the Wordpress world
How WP Pipes changes the Wordpress world
 
HTTP 2.0 – What do I need to know?
HTTP 2.0 – What do I need to know? HTTP 2.0 – What do I need to know?
HTTP 2.0 – What do I need to know?
 
Alex carcea, radu macovei a story of how java script joined the big league
Alex carcea, radu macovei   a story of how java script joined the big leagueAlex carcea, radu macovei   a story of how java script joined the big league
Alex carcea, radu macovei a story of how java script joined the big league
 
Introduction to xampp
Introduction to xamppIntroduction to xampp
Introduction to xampp
 
Installation of wordpress
Installation of wordpressInstallation of wordpress
Installation of wordpress
 
T3DD12 Caching with Varnish
T3DD12 Caching with VarnishT3DD12 Caching with Varnish
T3DD12 Caching with Varnish
 
Ruby Installation
Ruby InstallationRuby Installation
Ruby Installation
 
Installation of LAMP Server with Ubuntu 14.10 Server Edition
Installation of LAMP Server with Ubuntu 14.10 Server EditionInstallation of LAMP Server with Ubuntu 14.10 Server Edition
Installation of LAMP Server with Ubuntu 14.10 Server Edition
 
Php
PhpPhp
Php
 
Shiny New HTTP Shit
Shiny New HTTP ShitShiny New HTTP Shit
Shiny New HTTP Shit
 
HTTP at your local BigCo
HTTP at your local BigCoHTTP at your local BigCo
HTTP at your local BigCo
 
Super performing websites with TYPO3 and Varnish
Super performing websites with TYPO3 and VarnishSuper performing websites with TYPO3 and Varnish
Super performing websites with TYPO3 and Varnish
 
Wp migration
Wp migrationWp migration
Wp migration
 

Destacado

Monique Koepke / Typografie im Web
Monique Koepke / Typografie im WebMonique Koepke / Typografie im Web
Monique Koepke / Typografie im Webwpmeetupka
 
Einführung ins WP REST API
Einführung ins WP REST APIEinführung ins WP REST API
Einführung ins WP REST APIwpmeetupka
 
Ist deine Webseite wirklich Sicher?
Ist deine Webseite wirklich Sicher?Ist deine Webseite wirklich Sicher?
Ist deine Webseite wirklich Sicher?Martin Wolfert
 
AutoScaling WordPress with Docker & AWS - WordPress Meetup Karlsruhe - Plesk
AutoScaling WordPress with Docker & AWS - WordPress Meetup Karlsruhe - PleskAutoScaling WordPress with Docker & AWS - WordPress Meetup Karlsruhe - Plesk
AutoScaling WordPress with Docker & AWS - WordPress Meetup Karlsruhe - PleskJan Löffler
 
WordPress Meetup Karlsruhe Plesk 2016 - Die Veränderung der Web Entwicklung -...
WordPress Meetup Karlsruhe Plesk 2016 - Die Veränderung der Web Entwicklung -...WordPress Meetup Karlsruhe Plesk 2016 - Die Veränderung der Web Entwicklung -...
WordPress Meetup Karlsruhe Plesk 2016 - Die Veränderung der Web Entwicklung -...Jan Löffler
 
PoP - “Platform of Platforms”: Framework for building Single-Page Application...
PoP - “Platform of Platforms”: Framework for building Single-Page Application...PoP - “Platform of Platforms”: Framework for building Single-Page Application...
PoP - “Platform of Platforms”: Framework for building Single-Page Application...Leonardo Losoviz
 
Speedup your site mit Caching
Speedup your site mit CachingSpeedup your site mit Caching
Speedup your site mit Cachingwpmeetupka
 
Computación
ComputaciónComputación
Computaciónmerfax
 
Educación a distancia
Educación a distanciaEducación a distancia
Educación a distanciadanielas1994
 
PPS Online Presentation Pygmy Marmoset-Cindy Henry
PPS Online Presentation Pygmy Marmoset-Cindy HenryPPS Online Presentation Pygmy Marmoset-Cindy Henry
PPS Online Presentation Pygmy Marmoset-Cindy Henrychenry2316
 
Progress Monitoring Interpretation
Progress Monitoring InterpretationProgress Monitoring Interpretation
Progress Monitoring InterpretationMadison Hopkins
 
Bảng hướng dẫn thành lập văn phòng công chứng
Bảng hướng dẫn thành lập văn phòng công chứngBảng hướng dẫn thành lập văn phòng công chứng
Bảng hướng dẫn thành lập văn phòng công chứngmaihuyhung
 

Destacado (17)

Monique Koepke / Typografie im Web
Monique Koepke / Typografie im WebMonique Koepke / Typografie im Web
Monique Koepke / Typografie im Web
 
Einführung ins WP REST API
Einführung ins WP REST APIEinführung ins WP REST API
Einführung ins WP REST API
 
Ist deine Webseite wirklich Sicher?
Ist deine Webseite wirklich Sicher?Ist deine Webseite wirklich Sicher?
Ist deine Webseite wirklich Sicher?
 
AutoScaling WordPress with Docker & AWS - WordPress Meetup Karlsruhe - Plesk
AutoScaling WordPress with Docker & AWS - WordPress Meetup Karlsruhe - PleskAutoScaling WordPress with Docker & AWS - WordPress Meetup Karlsruhe - Plesk
AutoScaling WordPress with Docker & AWS - WordPress Meetup Karlsruhe - Plesk
 
WordPress Meetup Karlsruhe Plesk 2016 - Die Veränderung der Web Entwicklung -...
WordPress Meetup Karlsruhe Plesk 2016 - Die Veränderung der Web Entwicklung -...WordPress Meetup Karlsruhe Plesk 2016 - Die Veränderung der Web Entwicklung -...
WordPress Meetup Karlsruhe Plesk 2016 - Die Veränderung der Web Entwicklung -...
 
PoP - “Platform of Platforms”: Framework for building Single-Page Application...
PoP - “Platform of Platforms”: Framework for building Single-Page Application...PoP - “Platform of Platforms”: Framework for building Single-Page Application...
PoP - “Platform of Platforms”: Framework for building Single-Page Application...
 
Speedup your site mit Caching
Speedup your site mit CachingSpeedup your site mit Caching
Speedup your site mit Caching
 
Computación
ComputaciónComputación
Computación
 
Macroeconomia
MacroeconomiaMacroeconomia
Macroeconomia
 
INTERRACIALITY
INTERRACIALITYINTERRACIALITY
INTERRACIALITY
 
Educación a distancia
Educación a distanciaEducación a distancia
Educación a distancia
 
PPS Online Presentation Pygmy Marmoset-Cindy Henry
PPS Online Presentation Pygmy Marmoset-Cindy HenryPPS Online Presentation Pygmy Marmoset-Cindy Henry
PPS Online Presentation Pygmy Marmoset-Cindy Henry
 
Tesi
TesiTesi
Tesi
 
Progress Monitoring Interpretation
Progress Monitoring InterpretationProgress Monitoring Interpretation
Progress Monitoring Interpretation
 
Bảng hướng dẫn thành lập văn phòng công chứng
Bảng hướng dẫn thành lập văn phòng công chứngBảng hướng dẫn thành lập văn phòng công chứng
Bảng hướng dẫn thành lập văn phòng công chứng
 
Academy_Portfolio_Zulfikar
Academy_Portfolio_ZulfikarAcademy_Portfolio_Zulfikar
Academy_Portfolio_Zulfikar
 
Manual specialization
Manual specializationManual specialization
Manual specialization
 

Similar a Speedup your WordPress mit Nginx und HTTP/2

Introducing HTTP/2
Introducing HTTP/2Introducing HTTP/2
Introducing HTTP/2Ido Flatow
 
HTTP2 in action - Piet Van Dongen - Codemotion Amsterdam 2017
HTTP2 in action - Piet Van Dongen - Codemotion Amsterdam 2017HTTP2 in action - Piet Van Dongen - Codemotion Amsterdam 2017
HTTP2 in action - Piet Van Dongen - Codemotion Amsterdam 2017Codemotion
 
The Case for HTTP/2 - EpicFEL Sept 2015
The Case for HTTP/2 - EpicFEL Sept 2015The Case for HTTP/2 - EpicFEL Sept 2015
The Case for HTTP/2 - EpicFEL Sept 2015Andy Davies
 
HTTP/2 : why upgrading the web? - apidays Paris
HTTP/2 : why upgrading the web? - apidays ParisHTTP/2 : why upgrading the web? - apidays Paris
HTTP/2 : why upgrading the web? - apidays ParisQuentin Adam
 
HTML5, HTTP2, and You 1.1
HTML5, HTTP2, and You 1.1HTML5, HTTP2, and You 1.1
HTML5, HTTP2, and You 1.1Daniel Austin
 
HTTP cache @ PUG Rome 03-29-2011
HTTP cache @ PUG Rome 03-29-2011HTTP cache @ PUG Rome 03-29-2011
HTTP cache @ PUG Rome 03-29-2011Alessandro Nadalin
 
HTTP colon slash slash: the end of the road?
HTTP colon slash slash: the end of the road?HTTP colon slash slash: the end of the road?
HTTP colon slash slash: the end of the road?Alessandro Nadalin
 
HTTP colon slash slash: end of the road? @ CakeFest 2013 in San Francisco
HTTP colon slash slash: end of the road? @ CakeFest 2013 in San FranciscoHTTP colon slash slash: end of the road? @ CakeFest 2013 in San Francisco
HTTP colon slash slash: end of the road? @ CakeFest 2013 in San FranciscoAlessandro Nadalin
 
Computer network (10)
Computer network (10)Computer network (10)
Computer network (10)NYversity
 
Как Web-акселератор акселерирует ваш сайт / Александр Крижановский (Tempesta ...
Как Web-акселератор акселерирует ваш сайт / Александр Крижановский (Tempesta ...Как Web-акселератор акселерирует ваш сайт / Александр Крижановский (Tempesta ...
Как Web-акселератор акселерирует ваш сайт / Александр Крижановский (Tempesta ...Ontico
 
Advanced Web Hosting
Advanced Web HostingAdvanced Web Hosting
Advanced Web HostingOVHcloud
 
Push the web with HTML5
Push the web with HTML5Push the web with HTML5
Push the web with HTML5Stoyan Zhekov
 
Surviving Slashdot
Surviving SlashdotSurviving Slashdot
Surviving Slashdotjohnbuckman
 
High Performance Wordpress: “Faster, Cheaper, Easier : Pick Three”
High Performance Wordpress: “Faster, Cheaper, Easier : Pick Three”High Performance Wordpress: “Faster, Cheaper, Easier : Pick Three”
High Performance Wordpress: “Faster, Cheaper, Easier : Pick Three”Valent Mustamin
 
21 Www Web Services
21 Www Web Services21 Www Web Services
21 Www Web Servicesroyans
 

Similar a Speedup your WordPress mit Nginx und HTTP/2 (20)

Introducing HTTP/2
Introducing HTTP/2Introducing HTTP/2
Introducing HTTP/2
 
HTTP2 in action - Piet Van Dongen - Codemotion Amsterdam 2017
HTTP2 in action - Piet Van Dongen - Codemotion Amsterdam 2017HTTP2 in action - Piet Van Dongen - Codemotion Amsterdam 2017
HTTP2 in action - Piet Van Dongen - Codemotion Amsterdam 2017
 
HTTP/2: What's new?
HTTP/2: What's new? HTTP/2: What's new?
HTTP/2: What's new?
 
The Case for HTTP/2 - EpicFEL Sept 2015
The Case for HTTP/2 - EpicFEL Sept 2015The Case for HTTP/2 - EpicFEL Sept 2015
The Case for HTTP/2 - EpicFEL Sept 2015
 
HTTP/2 : why upgrading the web? - apidays Paris
HTTP/2 : why upgrading the web? - apidays ParisHTTP/2 : why upgrading the web? - apidays Paris
HTTP/2 : why upgrading the web? - apidays Paris
 
5-WebServers.ppt
5-WebServers.ppt5-WebServers.ppt
5-WebServers.ppt
 
5-WebServers.ppt
5-WebServers.ppt5-WebServers.ppt
5-WebServers.ppt
 
Http2
Http2Http2
Http2
 
HTML5, HTTP2, and You 1.1
HTML5, HTTP2, and You 1.1HTML5, HTTP2, and You 1.1
HTML5, HTTP2, and You 1.1
 
HTTP cache @ PUG Rome 03-29-2011
HTTP cache @ PUG Rome 03-29-2011HTTP cache @ PUG Rome 03-29-2011
HTTP cache @ PUG Rome 03-29-2011
 
HTTP colon slash slash: the end of the road?
HTTP colon slash slash: the end of the road?HTTP colon slash slash: the end of the road?
HTTP colon slash slash: the end of the road?
 
HTTP colon slash slash: end of the road? @ CakeFest 2013 in San Francisco
HTTP colon slash slash: end of the road? @ CakeFest 2013 in San FranciscoHTTP colon slash slash: end of the road? @ CakeFest 2013 in San Francisco
HTTP colon slash slash: end of the road? @ CakeFest 2013 in San Francisco
 
Computer network (10)
Computer network (10)Computer network (10)
Computer network (10)
 
Как Web-акселератор акселерирует ваш сайт / Александр Крижановский (Tempesta ...
Как Web-акселератор акселерирует ваш сайт / Александр Крижановский (Tempesta ...Как Web-акселератор акселерирует ваш сайт / Александр Крижановский (Tempesta ...
Как Web-акселератор акселерирует ваш сайт / Александр Крижановский (Tempesta ...
 
Advanced Web Hosting
Advanced Web HostingAdvanced Web Hosting
Advanced Web Hosting
 
Push the web with HTML5
Push the web with HTML5Push the web with HTML5
Push the web with HTML5
 
Surviving Slashdot
Surviving SlashdotSurviving Slashdot
Surviving Slashdot
 
High Performance Wordpress: “Faster, Cheaper, Easier : Pick Three”
High Performance Wordpress: “Faster, Cheaper, Easier : Pick Three”High Performance Wordpress: “Faster, Cheaper, Easier : Pick Three”
High Performance Wordpress: “Faster, Cheaper, Easier : Pick Three”
 
21 Www Web Services
21 Www Web Services21 Www Web Services
21 Www Web Services
 
Apache web service
Apache web serviceApache web service
Apache web service
 

Último

How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxKatpro Technologies
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
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
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?Antenna Manufacturer Coco
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessPixlogix Infotech
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)wesley chun
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
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
 
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
 
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
 
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
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 

Último (20)

How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
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
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
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...
 
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
 
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
 
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...
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 

Speedup your WordPress mit Nginx und HTTP/2

  • 1. 16.12.2015 - Martin Wolfert - https://wp-loft.de Speedup your WordPress with Nginx ANd HTTP/2 OR: How to get a performant WordPress installation without real caching plugins.
  • 2. About … kid of the german „Babyboomer-Generation" lateral entrant in IT at 1-th of January 2000 means: 15 years of Linux- & WebHosting (LAMP) knowledge since 1998, own profession in WebDesign & PHP-Programming WordPress user since version 2.6 Panograf (360° photography) main profession: Operations-Architekt, working for 1&1 Internet SE 
 in Karlsruhe Big fan of north-west france & and their coasts Redwine & Scottish Single-Malt Whisky (from Islay) gourmet
  • 3. HTTP/2 Evolution HTTP/1.0 HTTP/1.1 SPDY HTTP/2 Source: 1)
  • 4. Just to mention it Latency is the Problem Not bandwidth! Except video-streaming
  • 5. HTTP/1.x versus HTTP/2 Source: 2) HTTP/1.1 uses many connections between client and server. As a modern browser could handle only 4 - 8 parallel connections on a chosen target domain. So, loading of e.g. a WordPress Page could be really painfull.
  • 6. HTTP/2, The better Protocol
(Based on the actual HTTP/2 implementation from OPenSource-NGinx 1.9.7 *) Single, Persistent Connection : Only one connection is used for each web page. The same connection is used as long as the web page is open.
 Multiplexing : Requests and replies are multiplexed onto separate streams within the single connection. When the connection is stable, “head of line blocking” is eliminated.
 Header Compression and Binary Encoding : Headers are compressed using a new, separate, 
 secure standard -HPACK compression. It reduces the amount of data crossing the network. Header information is sent in compact, binary format, not as plain text.
 SSL Encryption - HTTP/2 allows you to add SSL support with, in some cases, no performance penalty, making your site more secure. * lacks of Server-Push and Prioritization
  • 7. HTTP/2, Streaming Three components (ascending): Frames Messages Streams Source: 3)
  • 8. HTTP/2 Multiplexing Source: 4) Interleave multiple requests in parallel without blocking on any one Interleave multiple responses in parallel without blocking on any one Use a single connection to deliver multiple requests and responses in parallel No old HTTP/1.1 stuff like e.g. image sprites or domain sharding
  • 11. This little „OR“ in the Subline The „old“ stuff:
 - Handling HTTP&HTTPS Port
 - Nginx-Layer
 - Varnish-Layer
 - Apache-PHP-Layer The „cool“ state-of-the-art stuff:
 - only HTTPS (HTTP/2) Port
 - Nginx-Layer
 - HHVM / PHP-FPM - Layer
 - Redis-Server
  • 12. Really Without Cache Plugin? Source: 6) To get a bit more speed „on top“, i have a Redis-Server running on my VPS. 
 
 Redis is a key value store who can act as „persistent object cache“ to store e.g. 
 WordPress database queries.
 
 So … we can start discussing, if Redis works as a cache or not :). And we could also discuss, if the Redis Object Cache Plugin, to bind WordPress to the Redis-Server, is a typical cache plugin or not.
  • 13. My Optimizations in addition to HTTP/2 Source: 6) HHVM instead of PHP-FPM (with Opcache) Fast CGI Caching, based on Nginx Google’s mod_pagespeed, based on Nginx - CSS & JS - minify - DNS Prefetch - Async Google-Analytics - Image deduplication - etc. GEOIP-blocking Fail2ban based IP-blocking
  • 14. A Resulting Speed Test
 (Tested with webpagetest.org) Source: 6)
  • 15. Additional Informations https://kinsta.com/blog/the-definitive-php-7-final-version-hhvm-benchmark/ https://letsencrypt.org/ A bit self-promotion :-)
 
 So, if you need a 360° Panorama-picture, visit my website on
 http://panoramaatelier.de For WordPress-Support and my WordPress-Blog look at https://wp-loft.de My personal Blog, you can find on
 https://blog.lichttraeumer.de
  • 17. Picture-Sources 1): „Human evolution scheme (2)“ von Human_evolution_scheme.svg: M. Gardederivative work: Gerbil (talk) - Human_evolution_scheme.svg. Lizenziert unter CC BY-SA 3.0 über Wikimedia Commons - https://commons.wikimedia.org/wiki/ File:Human_evolution_scheme_(2).jpg#/media/File:Human_evolution_scheme_(2).jpg 2 & 3): https://www.nginx.com/wp-content/uploads/2015/09/NGINX_HTTP2_White_Paper_v4.pdf 4): http://chimera.labs.oreilly.com/books/1230000000545/ch12.html 5) http://caniuse.com/#feat=http2 6) http://www.asterix-comics.de/pics/gallisches-dorf.jpg