LSCache For PrestaShop Benchmark

With LiteSpeed under the hood, PrestaShop loaded over 600 times faster than Apache, and 1500 times faster than nginx in our tests!

Benchmark Overview

Most of the time, a PrestaShop full page cache plugin will cost you somewhere around $120 to $180 USD, but LiteSpeed’s cache extension is FREE to PrestaShop owners on LiteSpeed-powered hosting. To demonstrate what page caching gets you, we put our LSCache extension to the test on a PrestaShop demo site, against uncached Apache and nginx.

Note: Smarty Cache was enabled for nginx and Apache. Smarty Cache, and the related Performance functions which are included with PrestaShop, are not full page caches. That is why, when you are using LSCache, there is no need to disable any of them. They will not conflict with each other.

We followed the http2benchmark.org methodology, which means our results are easy to verify. We welcome you to try other full page cache plugins to compare with LiteSpeed Cache.

Summary

HTTP/2 Test Results

h2load -n 100000 -c 10 -t 1 -T 5 -m 10 -H 'Accept-Encoding: gzip,deflate' https://domain.com/prestashop/
Server Requests / Sec MB / Sec Failures Header Compression
LiteSpeed
48077.1
397.06
0
96.36%
Nginx
31.6
0.3
0
27.06%
Apache
72.6
0
0
81.58%
Please note: we usually run the h2load test with -c 100, but in this case there were too many errors occurring with nginx and Apache. We reduced -c to 10 for this reason.

LiteSpeed Web Server performs 1521X faster than Nginx and 662X faster than Apache when loading PrestaShop.

HTTP 1.1 Test Results

wrk -c 100 -t 1 -d 5s -H 'Accept-Encoding: gzip,deflate' https://domain.com/prestashop/
Server Requests / Sec MB / Sec Failures Header Compression
LiteSpeed
24708.8
212.67
N/A
N/A
Nginx
29.12
0.29
N/A
N/A
Apache
75.53
0.02
N/A
N/A

LiteSpeed Web Server performs 849X faster than Nginx and 327X faster than Apache when loading PrestaShop.

Test Environment

Softwares Tested:

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

PrestaShop:

  • PrestaShop version: 1.7.6.1
  • LiteSpeed cache: LiteSpeed Cache for PrestaShop
  • nginx cache: Smarty System Cache
  • Apache cache: Smarty System 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: 8.73 Gbits/sec
  • Latency: 0.335 ms

We welcome your feedback.

JOIN OUR FORUM