LiteSpeed vs Nginx vs Apache
Which web server should you use? An honest comparison for hosting on GoZen.
If you’re on GoZen shared or WordPress hosting, you’re already running LiteSpeed. If you’re on a VPS, you can choose. Here’s the honest breakdown of each web server and when to pick what.
Quick Comparison
| LiteSpeed Enterprise | Nginx | Apache | |
|---|---|---|---|
| Speed | Fastest for PHP (built-in cache) | Fast for static + reverse proxy | Slowest of the three |
| PHP handling | Built-in LSAPI (fastest) | Proxies to PHP-FPM (fast) | mod_php or PHP-FPM (slower) |
| WordPress performance | Best (LSCache plugin) | Good with FastCGI cache | Adequate with mod_rewrite |
| .htaccess support | Full support | No support | Full support |
| cPanel / WHM | Supported | Not supported | Default option |
| Memory usage | Low (event-driven) | Lowest (event-driven) | Highest (per-connection threads) |
| Configuration | Admin GUI + config files | Config files only | Config files + .htaccess |
| License cost | Paid (included on GoZen shared) | Free (open source) | Free (open source) |
| Best for | WordPress, WooCommerce, cPanel | Reverse proxy, high concurrency, custom stacks | Legacy apps that need .htaccess |
LiteSpeed Enterprise
LiteSpeed is what GoZen runs on all shared hosting, WordPress hosting, and managed VPS plans. Here’s why:
What makes it fast:
- Built-in server-level caching: LiteSpeed Cache (LSCache) stores fully rendered pages in server memory. No PHP, no database query, just instant response. This is fundamentally different from plugin-level caching (like WP Super Cache) which still goes through PHP
- LSAPI: LiteSpeed’s PHP handler is faster than PHP-FPM because it keeps persistent connections to PHP processes, avoiding the overhead of spawning new ones
- HTTP/3 + QUIC: built-in, no extra configuration
- Event-driven architecture: handles thousands of concurrent connections without proportional memory growth
When to use it:
- WordPress sites (the LSCache plugin is the single biggest speed advantage you can get)
- WooCommerce stores (private caching for cart/checkout)
- Any cPanel-based hosting
- Sites that rely on
.htaccessrules
Considerations:
- Licensed software (not free). On GoZen shared hosting, the license is included. On VPS, check your plan details
- Drop-in Apache replacement (reads
.htaccessand Apache configs), so migrating from Apache is painless
Nginx
Nginx is the most popular web server for custom VPS deployments and reverse proxy setups.
What makes it popular:
- Event-driven: handles 10,000+ concurrent connections with minimal RAM. Perfect for high-traffic static sites and APIs
- Reverse proxy: the standard choice for putting multiple services behind one server (Nextcloud, APIs, Node.js apps)
- Minimal resource usage: uses less RAM than both Apache and LiteSpeed under load
- Free and open source: no licensing costs
When to use it:
- Reverse proxy for Docker containers and microservices
- Node.js, Python, or Go applications
- Static file serving (documentation sites, SPAs)
- High-concurrency APIs
- When you don’t need
.htaccess(Nginx doesn’t support it)
Considerations:
- No
.htaccesssupport. All configuration goes in server config files. If you’re migrating a WordPress site with complex.htaccessrules, you need to convert them to Nginx directives - PHP runs via PHP-FPM (a separate process). It’s fast, but not as fast as LiteSpeed’s built-in LSAPI
- No built-in page caching like LSCache. You can set up FastCGI caching, but it requires manual configuration
Nginx on GoZen VPS:
On an unmanaged VPS, install Nginx directly:
sudo apt install nginx -y
sudo systemctl enable nginx
Apache
Apache is the original web server. It’s been around since 1995 and still powers a significant portion of the web.
When it still makes sense:
- Legacy applications that depend on
.htaccess(mod_rewrite rules, authentication, per-directory configs) - When you need
mod_phpfor specific PHP configurations - Development environments that mirror older production setups
When to avoid it:
- New projects. Both LiteSpeed and Nginx outperform Apache in every meaningful benchmark
- High-traffic sites. Apache’s per-connection resource model means memory usage scales linearly with concurrent connections
- If you’re starting fresh, pick LiteSpeed (for WordPress) or Nginx (for everything else)
Apache’s real problem: it works fine under low load. The issues appear under pressure. When 500 users hit your site simultaneously, Apache spawns 500 processes. Nginx and LiteSpeed handle the same load with a fraction of the memory.
Head-to-Head: WordPress Benchmark
Real-world performance for a WordPress site with 20 posts, a standard theme, and WooCommerce:
| Metric | LiteSpeed + LSCache | Nginx + FastCGI Cache | Apache + mod_php |
|---|---|---|---|
| TTFB (cached) | ~15ms | ~25ms | ~45ms |
| TTFB (uncached) | ~180ms | ~200ms | ~350ms |
| Requests/sec | ~4,500 | ~3,800 | ~1,200 |
| RAM at 100 concurrent | ~120MB | ~90MB | ~450MB |
LiteSpeed wins on cached performance because LSCache runs at the server level before PHP even loads. Nginx is close behind with FastCGI caching. Apache trails significantly.
Which One on GoZen?
| GoZen Plan | Web Server | Can You Change It? |
|---|---|---|
| Shared Hosting | LiteSpeed Enterprise | No (managed by GoZen) |
| WordPress Hosting | LiteSpeed Enterprise | No (managed by GoZen) |
| Managed VPS (cPanel) | LiteSpeed Enterprise | Switchable in WHM |
| Managed VPS (Enhance) | Configurable per site | Choose per website |
| Unmanaged VPS | Your choice | Full control |
On Enhance Control Panel, you can select the web server per site: OpenLiteSpeed, Nginx, or Apache. This is useful if you run multiple sites with different needs on the same server.
The Bottom Line
- Running WordPress or WooCommerce? Use LiteSpeed. The LSCache integration alone is worth it
- Running a custom stack (Node.js, Python, Docker)? Use Nginx as a reverse proxy
- Running a legacy PHP app with complex .htaccess? Use LiteSpeed (it reads .htaccess) or Apache if you must
- Starting a new project and don’t know yet? Start with Nginx. It handles anything
What to Do Next
- LiteSpeed Cache for WordPress - configure the caching plugin
- Understanding Your GoZen Hosting Stack - how the full stack fits together
- Enhance Control Panel Guide - per-site web server selection
Last updated 07 Apr 2026, 00:00 +0200.