Blazing Fast Cloud Servers

Server set-up in less than 1 minute, Instant scaling up or down as required, 99.95% uptime guaranteed, No hardware maintenance, Simple backup and monitoring, Unbeatable pricing.

Visit Website

How To Speed Up WordPress With WP Fastest Cache + Cloudflare CDN

Speed up WordPress

This tutorial shows you how to speed up WordPress with WP Fastest Cache plugin + Cloudflare CDN. WP Fastest Cache is a free plugin for creating page cache which will make your WordPress site load faster and improve the SEO ranking.
The VPS used in this article: DigitalOcean (1GB RAM, 1 vCore)
Get $100 of free DigitalOcean credits if you sign up through this link!
LEMP stack used in this article: WordOps
Note: WordOps has provided the best combination of Nginx FastCGI Cache + Redis Object Cache, this article is only used to test the performance of WP Fastest Cache.

How To Speed Up WordPress With Nginx FastCGI Cache + Redis Object Cache + Cloudflare CDN (Get 100% GTmetrix Scores)
This tutorial shows you how to set up Nginx FastCGI Cache + Redis Object Cache + Cloudflare CDN, get 100% GTmetrix scores.

Operating System: Ubuntu 20.04
Please add your domain name to Cloudflare in advance.
Please resolve your domain name to an IP address in advance.
Demo domain: 8.blogwp.ovh
Please replace 8.blogwp.ovh with your own domain name.

Affiliate Disclosure: This page contains affiliate links. If you click through and purchase an item, I may earn a commission.

You can read this article for a detailed installation of WordOps

How To Install WordPress with WordOps (Enable Nginx FastCGI Cache)
This tutorial shows you how to install WordPress with WordOps (Enable Nginx FastCGI Cache)

1、Install WordOps

wget -qO wo wops.cc && sudo bash wo
root@ubuntu-s-1vcpu-1gb-nyc1-01:~# wget -qO wo wops.cc && sudo bash wo

Welcome to WordOps install/update script v3.13.2

Installing wo dependencies      [OK]
Installing WordOps      [OK]
Running post-install steps      [OK]
WordOps (wo) require an username & and an email address to configure Git (used to save server configurations)
Your informations will ONLY be stored locally
Enter your name: blogwpwpblog
Enter your email: [email protected]
Synchronizing wo database, please wait...
WordOps (wo) installed successfully

To enable bash-completion, just use the command:
bash -l

To install WordOps recommended stacks, you can use the command:
wo stack install

To create a first WordPress site, you can use the command:
wo site create site.tld --wp

WordOps Documentation : https://docs.wordops.net
WordOps Community Forum : https://community.wordops.net
WordOps Community Chat : https://chat.wordops.net

Give WordOps a GitHub star : https://github.com/WordOps/WordOps/

Note:
Please replace blogwpwpblog with your own name
Please replace [email protected] with your own email

2、Install WordPress

wo site create 8.blogwp.ovh --wp
root@ubuntu-s-1vcpu-1gb-nyc1-01:~# wo site create 8.blogwp.ovh --wp
Start : wo-kernel [OK]
Adding repository for MySQL, please wait...
Adding repository for NGINX, please wait...
Adding repository for PHP, please wait...
Updating apt-cache              [OK]
Installing APT packages         [OK]
Applying Nginx configuration templates
Testing Nginx configuration     [OK]
Restarting Nginx                [OK]
Testing Nginx configuration     [OK]
Restarting Nginx                [OK]
Configuring php7.3-fpm
Restarting php7.3-fpm           [OK]
Tuning MySQL configuration      [OK]
Restarting mysql                [OK]
Running pre-update checks       [OK]
Setting up NGINX configuration  [Done]
Setting up webroot              [Done]
Downloading WordPress           [Done]
Setting up database             [Done]
Configuring WordPress           [OK]
Installing WordPress            [OK]
Installing plugin nginx-helper  [OK]
Testing Nginx configuration     [OK]
Reloading Nginx                 [OK]
HTTP Auth User Name: WordOps
HTTP Auth Password : 8Q1IybdjGl8J7Lv1XRLuQ186
WordOps backend is available on https://64.227.1.210:22222 or https://ubuntu-s-1vcpu-1gb-nyc1-01:22222
WordPress admin user : blogwpwpblog
WordPress admin password : 59yMv81wUOHZVJXIaseBTdjo
Successfully created site http://8.blogwp.ovh

3、Install WP Fastest Cache plugin


WP Fastest Cache plugin settings
Click “Settings” tab, Check “Enable” Cache System
Check “Preload”, this will create the cache of all the site automatically


Check “Don’t show the cached version for logged-in users”
Check “Clear cache files when a post or page is published”
Check “Clear cache files when a post or page is updated”
Check “Minify HTML”, this will decrease the size of page
Check “Minify Css”, this will decrease the size of css files
Check “Combine Css”, this will reduce HTTP requests through combined css files
Check “Combine Js”, this will reduce HTTP requests through combined js files
Check “Browser Caching”, this will reduce page load times for repeat visitors
Check “Disable Emojis”


Click “CDN” tab, click “CDN by Cloudflare”


Enter Cloudflare email and API Key


WP Fastest Cache plugin will disable Cloudflare’s “Auto Minify” feature


WP Fastest Cache plugin will disable Cloudflare’s “Rocket Loader” feature


WP Fastest Cache plugin will set Cloudflare’s “Browser Cache Expiration” as 6 months

4、Cloudflare CDN Settings
Click the ‘Speed’ section, click the Optimization tab, toggle the Brotli switch to On.


Click the ‘Network’ section, toggle the HTTP/3 (with QUIC) switch to On, toggle the 0-RTT Connection Resumption switch to On, toggle the gRPC switch to On, toggle the WebSockets switch to On.

 

5、WP Fastest Cache Load Testing
Load Testing Tool: loader.io
Load Testing Type: Clients per second and Maintain client load
Twenty Twenty-One theme
Use “FakerPress” plugin to generate 300 posts and 1500 comments.
5.1 Download the verification file
5.2 Upload the verification file. When use WordOps, the verification file of loader.io need to be uploaded to /var/www/8.blogwp.ovh/htdocs
5.3 Click “Verify” button, shows “Congrats, target verification passed!”
Please refer to this article for the verification process of loader.io

How To Speed Up WordPress With WP Super Cache + Cloudflare CDN
This tutorial shows you how to speed up WordPress with WP Super Cache plugin + Cloudflare CDN. WP Super Cache plugin will generates static HTML files from your dynamic WordPress blog and stores the static HTML for visitors to browse.

Load Test after enable WP Fastest Cache
50 clients per second in 1 minute, the average response time is 31 ms.


100 clients per second in 1 minute, the average response time is 39 ms.


150 clients per second in 1 minute, the average response time is 244 ms.


200 clients per second in 1 minute, the average response time is 1766 ms.


250 clients per second in 1 minute, the average response time is 2655 ms.


500 clients per second in 1 minute, the average response time is 5770 ms.


750 clients per second in 1 minute, the test was aborted because it reached the error threshold.

Load Test (Maintain client load) after enable WP Fastest Cache
From 0 to 250 clients in 1 minute, the average response time is 775 ms.


From 0 to 500 clients in 1 minute, the average response time is 1421 ms.


From 0 to 750 clients in 1 minute, the average response time is 2066 ms.


From 0 to 1000 clients in 1 minute, the average response time is 2627 ms.


From 0 to 1500 clients in 1 minute, the average response time is 1389 ms.


From 0 to 2000 clients in 1 minute, the average response time is 4024 ms.


From 0 to 2500 clients in 1 minute, the average response time is 4517 ms.


From 0 to 2800 clients in 1 minute, the average response time is 5259 ms.


From 0 to 3000 clients in 1 minute, the test was aborted because it reached the error threshold.

Note:Depending on the blog environment (plugins and various settings ), the load testing results will vary.
Speed Tests Results
GTmetrix:


PageSpeed Insights:

The speed optimization method can be summarized as: WP Fastest Cache plugin + Cloudflare CDN

If you have any questions, please leave me a comment.

Copied title and URL