Check the Docker Hub page. Docker file with related scripts and config files to help build a Docker container that runs the following pieces out-of-the-box: PHP-FPM. Nginx with fastcgi-cache and fastcgi_cache_purge. Opcache. WordPress with the latest version. Also, it provides the following optional scripts: Add existing SSL cert files into Nginx config. Auto-generate SSL cert […]

In previous post “How to Speed Up Your WordPress – The Definitive Guide“, we discussed about some principles that need to consider when improving the performance of your WordPress site, like choosing “right” web host, reduce HTTP requests, doing cache, optimizing static files, etc. In this post, I documented all the steps I have done […]

tl;dr The core of “speed up your WordPress” is to reduce web page loading time. Here are several principles: Choose the “right” web server / hosting service (web host). Reduce the # of HTTP requests. Optimize static resources, including Javascript, CSS, images, fonts, etc. Optimize data transmission over the internet. Optimize delivery of web page […]

When doing development of WordPress like plugin, theme, or even the core development, it is usually a pain to set up the local development environment. The setup of local WordPress development environment usually includes two parts: Set up the development stack locally as well as the WordPress instance. Sync WordPress DB — normally it is […]