Sofia WP User Group Presentation

100 %
0 %
Information about Sofia WP User Group Presentation

Published on March 4, 2014

Author: DanielKanchev



I used this presentation for the meeting of the WP Sofia User Group during February 2014.

WordPress Server 
 Optimizations Даниел Канчев WordPress Sofia User Group Февруари 2014

Даниел Канчев @dvkanchev Performance Guru @SiteGround Security Freak Server Migrations Specialist VIP Customer Management FOSS Addict Addicted to extreme sports

Защо трябва да оптимизирате? По-доволни потребители —>> $$$ По-добри позиции в Google/Yandex По-ниски разходи за web hosting

Направете план

Основни моменти в оптимизацията Web server setup - Apache or nginx PHP setup - PHP-FPM, FastCGI, APC MySQL setup Object caching - Memcached/Redis Full page (HTTP) caching - Varnish, nginx

MySQL Използвайте Percona - Използвайте tmpfs за MySQL tmpdir - UOTjlW -

PHP PHP handlers - DSO, SuPHP/SuExec, FastCGI/PHP-FPM PHP modules info Opcode caching, object caching - APC, xCache, Memcached, Redis

WordPress Interaction with Your Database First request goes to the database server

Object Caching First request goes to the database server Objects are also stored in Memcached

Object Caching All consecutive requests are forwarded to the Memcached server

How PHP Works Scanning Lexing Parsing Compilation Opcode Execution

PHP Opcode Caching ! Opcode Execution

Reverse Proxy Servers

Reverse Proxy Servers

Reverse Proxy Servers

Reverse Proxy Servers

nginx config which works

Varnish config # Never cache administrator if (req.url ~ "wp-(login|admin)" || req.url ~ "preview=true") { return (pass); } if (req.http.Cookie ~ "(^|;s*)(wpSGCacheBypass=1)(;|$)") { return(pass); } if (req.http.Cookie ~ "(^|;s*)wordpress_logged_in_([^;]+)(;|$)") { return(pass); } if (req.http.Cookie ~ "(^|;s*)(woocommerce_items_in_cart=1)(;|$)") { return(pass); } if (req.http.Cookie ~ "comment_author") { return(pass); } ! include "common.vcl"; ! return (lookup);

To CDN or not to CDN ?

Изводи Оптимизацията е процес, а не събитие. Винаги тествайте. Пазете информацията от всички тестове. Информирайте се от големите акули.

Полезни линкове

Bash Мерси! @dvkanchev /

Add a comment

Related presentations

Presentación que realice en el Evento Nacional de Gobierno Abierto, realizado los ...

In this presentation we will describe our experience developing with a highly dyna...

Presentation to the LITA Forum 7th November 2014 Albuquerque, NM

Un recorrido por los cambios que nos generará el wearabletech en el futuro

Um paralelo entre as novidades & mercado em Wearable Computing e Tecnologias Assis...

Microsoft finally joins the smartwatch and fitness tracker game by introducing the...

Related pages

Eng Synergy User Group Presentation 18052010 - Documents

Home; Documents; Eng Synergy User Group Presentation 18052010; Download. of 47 ×
Read more

Synopsys User Group Presentation - Documents

ASIC emulation methodology presentation to the UK Synopsys user group conference.
Read more

Ian-Daniel-Royal Mail SAP User Group Presentation November ...

First class compliant provisioning in SAP delivered at Royal Mail Ian Daniel November 2012 2 Royal Mail’s People Systems Programme (PSP) • PSP ...
Read more

Intermountain User Group Presentation - Healthcare

1.Intermountain User Group Disclaimer: Nothing that we are sharing is intended as legally binding or prescrip7ve advice.
Read more

Effective Reporting SAP Australian User Group Presentation ...

×Close Share Effective Reporting SAP Australian User Group Presentation. Embed ...
Read more

Immunohematology Case Studies 2016 - 01

Sofia Lejon Crottet, ... Current Sample Presentation Data . ABO/Rh: O, D+ C+ c+ E ... It is important to remember that blood group antigens Ch, Rg, Yk a, ...
Read more

REGNET Power Point Template

Working Groups in Sofia I 3 Working Groups / 1/2 hour News ... Please prepare a short presentation of the results to ... user Created Date: 7/5 ...
Read more

Wikimedians of Bulgaria - Meta

... Sofia University ... The aim is to balance the posts between links to BG WP articles and "from the ... Wikimedians of Bulgaria User Group recognition ...
Read more

Telerik Mobile App Development Platform, .NET UI Controls ...

Telerik Included in 3 Gartner Magic Quadrants for 2015. Enterprise Application Platform as a Service; Mobile Application Development Platforms; Web Content ...
Read more