Last updated on June 26, 2019
The test compares a LiteSpeed Web Server and LSCache to Nginx and Super Cache. PHP is a slow language. A website is slow if every request by users require PHP to retrieve content from the database. As such, caching plays an important part to speed up a website.
LiteSpeed Web Server provides a free WordPress caching plugin called LSCache. Together with the LiteSpeed Web Server, it beats Nginx and Super Cache by the following:
- without Keep-Alive, LiteSpeed Web Server and LSCache beats Nginx and Super Cache by 5 times
- with Keep-Alive, LiteSpeed Web Server and LSCache beats Nginx and Super Cache by 10 times
Keep-Alive is a mechanism which the web server keeps a HTTP connection open until all the resources needed are retrieved by the user.
Test Results
In the server load test where each server handles 50000 requests, LiteSpeed Web Server completes all the request in 0.08 s. This compares to 0.85 s for the Nginx server.
In the Page Score test, LiteSpeed can still make a page load faster than the Nginx server. This is despite the fact that the page is already a highly optimised site, and LiteSpeed can still provide additional benefit as compare to Nginx.