Search form


WordPress: Optimizing Nginx and WP Super Cache

Today we're going to compare the performance of a WordPress site before and after we install and optimize the WP Super Cache plugin.

We're running Ubuntu 16.04 Server, Nginx 1.10, PHP 7 with the Zend OPcache, MariaDB, and WordPress 4.6 with a few other plugins (Akismet, Jetpack, Yoast SEO, and Google Analytics). The system itself is a humble virtual server with 1 "core", 2 GB RAM, and SSD storage, costing $10/month.

Install the Latest Nginx From Source on Ubuntu 16.04

So you want to install Nginx from source on Ubuntu. However, you want Nginx to work like you had installed it with the package manager. This means the startup file (/etc/init.d/nginx), binary (/usr/sbin/nginx), config directory (/etc/nginx/) and log files (/var/log/nginx/) will all be found in the usual Debian/Ubuntu locations. Fortunately this is pretty easy to do using the Debian dpkg utility and Nginx repos.

Ubuntu 16.04 Web Server with Nginx, MariaDB, Redis, and Drupal 8

As mentioned in my Ubuntu 16.04 and Drupal 7 article, the Ubuntu 16 LTS version has some nice upgrades, including PHP 7, MySQL 5.7, Nginx 1.10, Apache 2.4.18, and MariaDB 10.0.x. Let's see if we can make it work with Nginx, PHP-FPM, MariaDB, and Drupal 8, using the Redis key-value store as the backend cache instead of Drupal's cache tables. The procedure is largely the same as before, with a few differences for the new Drupal version.

Web Server Performance 2016

This is a shorthand summary of web server performance and caching systems as of March 2016.

General disclaimer: I try to link benchmark results that seem relatively neutral, but as with any survey or study or benchmark roundup, the most pertinent question is cui bono? Ultimately the only reliable benchmarks are those you run yourself in your own environment.

Subscribe to RSS - Nginx