This article shows you page caching performance comparation: Nginx FastCGI Cache Vs Nginx FastCGI Cache + Redis Object Cache Vs Redis Full-Page Cache Vs LiteSpeed Cache
Test Configuration:
Vultr VPS server(1GB RAM, 1 vCore)
Get $100 of free Vultr credits if you sign up through this link!
Ubuntu 20.04
Same server location – Dallas
Nginx via WordOps
OpenLiteSpeed via ols1clk (One click installation of Open LiteSpeed)
Cache plugin – LiteSpeed Cache on OpenLiteSpeed
Twenty Twenty-One theme with default demo site
Demo domain – blogwp.ovh


Load Testing Tool: loader.io
Load Testing Type: Clients per second
Load Test after use Nginx FastCGI Cache
250 clients per second in 1 minute
With Nginx FastCGI Cache, the average response time is 45 ms.
500 clients per second in 1 minute
With Nginx FastCGI Cache, the average response time is 46 ms.
1000 clients per second in 1 minute
With Nginx FastCGI Cache, the average response time is 46 ms.
2500 clients per second in 1 minute
With Nginx FastCGI Cache, the average response time is 1040 ms.
5000 clients per second in 1 minute
With Nginx FastCGI Cache, the average response time is 3564 ms.
7500 clients per second in 1 minute
With Nginx FastCGI Cache, the average response time is 4896 ms.
10000 clients per second in 1 minute
With Nginx FastCGI Cache, the average response time is 5403 ms.
Load Test after use Nginx FastCGI Cache + Redis Object Cache
250 clients per second in 1 minute
With Nginx FastCGI Cache + Redis Object Cache, the average response time is 44 ms.
500 clients per second in 1 minute
With Nginx FastCGI Cache + Redis Object Cache, the average response time is 45 ms.
1000 clients per second in 1 minute
With Nginx FastCGI Cache + Redis Object Cache, the average response time is 45 ms.
2500 clients per second in 1 minute
With Nginx FastCGI Cache + Redis Object Cache, the average response time is 50 ms.
5000 clients per second in 1 minute
With Nginx FastCGI Cache + Redis Object Cache, the average response time is 3009 ms.
7500 clients per second in 1 minute
With Nginx FastCGI Cache + Redis Object Cache, the average response time is 4083 ms.
10000 clients per second in 1 minute
With Nginx FastCGI Cache + Redis Object Cache, the average response time is 4767 ms.
When test 2500 clients per second in 1 minute, With Nginx FastCGI Cache + Redis Object Cache, the average response time is 50 ms. With Nginx FastCGI Cache, the average response time is 1040 ms.
When clients per second is greater than 5000, the average response time is also much better for Nginx FastCGI Cache + Redis Object Cache
Load Test after use Redis Full-Page Cache
250 clients per second in 1 minute
With Redis Full-Page Cache, the average response time is 46 ms.
500 clients per second in 1 minute
With Redis Full-Page Cache, the average response time is 45 ms.
1000 clients per second in 1 minute
With Redis Full-Page Cache, the average response time is 46 ms.
2500 clients per second in 1 minute
With Redis Full-Page Cache, the average response time is 5141 ms.
5000 clients per second in 1 minute
With Redis Full-Page Cache, the average response time is 4119 ms.
This test was aborted because it reached the error threshold.
7500 clients per second in 1 minute
With Redis Full-Page Cache, the average response time is 5934 ms.
This test was aborted because it reached the error threshold.
Load Test after use LiteSpeed Cache
250 clients per second in 1 minute
With LiteSpeed Cache, the average response time is 31 ms.
500 clients per second in 1 minute
With LiteSpeed Cache, the average response time is 31 ms.
1000 clients per second in 1 minute
With LiteSpeed Cache, the average response time is 30 ms.
2500 clients per second in 1 minute
With LiteSpeed Cache, the average response time is 30 ms.
5000 clients per second in 1 minute
With LiteSpeed Cache, the average response time is 31 ms.
7500 clients per second in 1 minute
With LiteSpeed Cache, the average response time is 777 ms.
10000 clients per second in 1 minute
With LiteSpeed Cache, the average response time is 1758 ms.
When test 5000 clients per second in 1 minute, With LiteSpeed Cache, the average response time is 31 ms. With Nginx FastCGI Cache, the average response time is 3564 ms. With Nginx FastCGI Cache + Redis Object Cache, the average response time is 3009 ms. With Redis Full-Page Cache, the average response time is 4119 ms.
When clients per second is greater than 5000, the average response time is also much better for LiteSpeed Cache. Even when test 7500 and 10000 clients per second in 1 minute, the average response time of LiteSpeed Cache is still only 777 ms and 1758 ms.
Load Test – No Cache
50 clients per second in 1 minute
When No Cache, the average response time is 1306 ms.
150 clients per second in 1 minute
When No Cache, the average response time is 5728 ms.
250 clients per second in 1 minute
When No Cache, the average response time is 7990 ms.
This test was aborted because it reached the error threshold.
Conclusion:
LiteSpeed Cache with OpenLiteSpeed can handle very high concurrent users when compared to Nginx FastCGI Cache or Nginx FastCGI Cache + Redis Object Cache or Redis Full-Page Cache.
Note: OpenLiteSpeed is the Open Source edition of LiteSpeed Web Server Enterprise. Both servers are actively developed and maintained by the same team, and are held to the same high-quality coding standard. OpenLiteSpeed contains all of the essential features found in LiteSpeed Enterprise.
Some hosting providers that support LiteSpeed Web Server:
KnownHost Fully Managed WordPress Hosting
KnownHost Shared Hosting
InterServer Web Hosting
NameHero Web Hosting
Some hosting providers that support Nginx FastCGI Cache:
Kinsta
Rocket
If you have any questions, please comment below.