LSCache For WordPress Benchmark

For WordPress, LiteSpeed delivers the goods faster than any other HTTP/2 server.

Up to 12 times faster than nginx!

Benchmark Overview

We tested HTTP/2 implementations from LiteSpeed Web Server, nginx, and Apache, to see how they would compare when loading WordPress. LiteSpeed beat nginx by up to 12X, and blew Apache out of the water by a whopping 84X! The best available WordPress cache plugins were used for each server: LSCache for LiteSpeed, FastCGI Cache for nginx, and W3 Total Cache for Apache.

We followed the methodology laid out on http2benchmark.org, which means our results are verifiable and repeatable.

Summary

HTTP/2 Test Results

h2load -n 100000 -c 100 -t 1 -T 5 -m 10 -H 'Accept-Encoding: gzip,deflate' https://domain.com/wordpress/
Server Requests / Sec MB / Sec Failures Header Compression
LiteSpeed
69618.5
270.38
0
96.64%
Nginx
6025.3
24.5
0
26.54%
Apache
826.5
3.08
0
88.9%

LiteSpeed Web Server performs 12X faster than Nginx and 84X faster than Apache when loading WordPress.

HTTP 1.1 Test Results

wrk -c 100 -t 1 -d 5s -H 'Accept-Encoding: gzip,deflate' https://domain.com/wordpress/
Server Requests / Sec MB / Sec Failures Header Compression
LiteSpeed
28360.3
119.33
N/A
N/A
Nginx
5730
24.15
N/A
N/A
Apache
1000.56
4.09
N/A
N/A

LiteSpeed Web Server performs 5X faster than Nginx and 28X faster than Apache when loading WordPress.

Test Environment

Softwares Tested:

  • LiteSpeed Web Server v5.4.1
  • nginx v1.16.1
  • Apache v2.4.41

WordPress:

  • WordPress version: 5.2.2
  • LiteSpeed cache: LiteSpeed Cache for WordPress
  • nginx cache: FastCGI Cache
  • Apache cache: W3 Total Cache

Client Machine:

  • Memory Size: 1GB
  • CPU number: 1
  • CPU Threads: 1
  • CPU Model: Virtual CPU 6db7dc0e7704
  • Disk: NVMe SSD

Server Machine:

  • Memory Size: 1GB
  • CPU number: 1
  • CPU Threads: 1
  • CPU Model: Virtual CPU 6db7dc0e7704
  • Disk: NVMe SSD

Network:

  • Traffic: 9.02 Gbits/sec
  • Latency: 0.302 ms

Cloud VM:

  • Vultr High Frequency Compute 1GB VM

We welcome your feedback.

JOIN OUR FORUM