Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Setting up the ideal WordPress Web Server: from...

Setting up the ideal WordPress Web Server: from zero to hero!

OR: Taking care of the bigger pains of a default WordPress installation.

A presentation slides about optimizing your WordPress website and your webserver this way, so it becames a blazing fast stack. Ways of speeding up WordPress and a few other performance-related things.

George Gkouvousis

October 27, 2018
Tweet

More Decks by George Gkouvousis

Other Decks in Technology

Transcript

  1. Setting up the ideal WordPress Web Server: from zero to

    hero! OR: Taking care of the bigger pains of a default WordPress installation. George Gkouvousis, 8web Interactive
  2. GEORGE GKOUVOUSIS George Gkouvousis @ggloveswp [email protected] www.8web.gr • Technical Analyst

    (ICT) degree / DevOps engineer • Coordinating WordPress projects at 8web • Scaling more than 100 WordPress Installations per year • Optimizing a hundred more
  3. PRESENTATION’S INFORMATION CHAPTER 3 Applying Solutions CHAPTER 2 Understanding &

    Analyzing needs CHAPTER 1 Common Stack problems Assumptions: • LAMP/LNMP stack installed • Sysadmin experience level
  4. • ENVIRONMENT RESTRICTIONS • RESOURCES RESTRICTIONS • OVERSELLING FACTOR RESOURCES

    LEVEL • OPTIMUM SOFTWARE NOT APPLIED • NOT ACTIVELY MAINTAINED TECHNOLOGY LEVEL 1. COMMON STACK PROBLEMS CMS-LEVEL ISSUES • PHP BOTTLENECK • MySQL BOTTLENECKS
  5. 2. UNDERSTANDING NEEDS 1. You type mydomain.com into the address

    bar of your browser. 2. The browser checks the cache for a DNS record to find the corresponding IP address of it 3. Browser initiates a TCP connection with the server. 4. The browser sends an HTTP request to the web server. 5. The server handles the request and sends back a response. 6. The server sends out an HTTP response and the browser displays the HTML output. WHAT HAPPENS WHEN YOU CALL A WordPress WEBSITE URL ?
  6. 2. UNDERSTANDING NEEDS a FASTER RESPONSE means: • Faster loading

    speed • Better User Experience • Better Rankings • Less Resources • Happier Visitors • Happier Webmaster J GOLDEN rule: THE FASTER, THE BETTER ACTUAL NEED = FASTER RESPONSES
  7. 3. APPLYING SOLUTIONS APPLY HTTP CACHE & AVOID REGENERATES PRIORITY:

    SERVER-LAYER SOLUTIONS SECONDARY OPTION: PLUGINS PAIN #1 > PHP APPLY OBJECT CACHE & AVOID MySQL LOAD FOR IDENTICAL QUERIES PRIORITY: PERSISTENT CACHE PAIN #2 > DATABASE FASTER WEB SERVER (NGINX) LATEST PHP VERSION + OPCACHE UP-TO-DATE MySQL VERSION HTTP/2 PROTOCOL DOM IMPROVEMENT EXTRA SIDE-IMPROVEMENTS