What is LiteSpeed?
LiteSpeed Web Server (LSWS) is a web server made by LiteSpeed Technologies: the software that receives a visitor's request and sends back your pages. It is built as a drop-in replacement for Apache, so it reads Apache configuration and .htaccess rules, but it uses an event-driven design and has a page cache, LSCache, built in. It comes in two editions: commercial LiteSpeed Enterprise and free, open-source OpenLiteSpeed.
How much faster a site gets on LiteSpeed depends on the site and the setup. RapidServer runs its cPanel web hosting and WordPress hosting on LiteSpeed with LSCache in Mumbai.
How LiteSpeed works: event-driven, with a cache inside
Apache, in its classic setup, gives each connection its own process or thread. LiteSpeed is built on an event-driven architecture: a few worker processes each juggle many connections, serving whichever one has work ready. Its documentation says it handles thousands of concurrent connections with a small memory footprint. Inside, that makes it closer to Nginx than to Apache, though it speaks Apache's configuration language.
The other difference is the cache. LSCache is integrated into all LiteSpeed server products, so a cached page goes out without running PHP or querying the database. LiteSpeed calls it its answer to Apache's mod_cache and Varnish.
Apache compatibility: .htaccess and mod_rewrite
LiteSpeed Enterprise understands Apache's configuration files, mod_rewrite and mod_security rules, and supports .htaccess natively. That is why it fits control panels made for Apache, such as cPanel, Plesk and DirectAdmin.
- .htaccess keeps working. Redirects and WordPress permalink rules carry over, and Enterprise picks up .htaccess changes without a restart.
- Most rewrite rules run unchanged. LiteSpeed's Apache migration FAQ says a basic setup needs no changes, but lists exceptions such as MultiViews and Apache modules, so an unusual site may need its rules adjusted.
- On cPanel, a WHM plugin runs it. The WHM LiteSpeed plugin installs and manages the server and its cache.
OpenLiteSpeed vs LiteSpeed Enterprise
OpenLiteSpeed is the open-source edition of LiteSpeed Enterprise, kept by the same team. The main differences, from LiteSpeed's editions comparison:
| OpenLiteSpeed | LiteSpeed Enterprise | |
|---|---|---|
| Licence | Free and open source, under GPLv3 | Commercial, with a free starter tier |
| .htaccess | Rewrite rules only; changes need a restart | Full support; changes picked up without a restart |
| Apache configuration | Apache-compatible rewrite rules | Reads Apache's configuration files directly |
| Control panels | CyberPanel, DirectAdmin or its own WebAdmin console | cPanel/WHM and Plesk plugins, DirectAdmin, CyberPanel |
| LSCache | Built in, without ESI | Built in, with ESI |
| Support | Community | Commercial |
Per the OpenLiteSpeed rewrite guide, it ignores unsupported .htaccess directives. So Enterprise suits shared cPanel hosting, where customers edit their own .htaccess files, and OpenLiteSpeed suits your own sites on a VPS.
LiteSpeed vs Apache vs Nginx
All three can host PHP sites. They differ in how they are built and configured:
| LiteSpeed | Apache | Nginx | |
|---|---|---|---|
| Architecture | Event-driven | Process- or thread-based, through its MPMs (prefork, worker, event) | Event-driven |
| Configuration | Reads Apache configuration (Enterprise) | httpd.conf and Apache modules | Its own nginx.conf syntax |
| .htaccess | Yes (OpenLiteSpeed: rewrite rules only) | Yes | No; rules go in the server configuration |
| Page cache | LSCache built in, controlled by app plugins | mod_cache, often with Varnish in front | FastCGI and proxy cache, set up by hand |
| HTTP/3 (QUIC) | Built in, in every LiteSpeed server product | Not in Apache 2.4 itself; usually added with a proxy or CDN | Experimental module since 1.25.0, not built by default |
| Licence | Enterprise commercial; OpenLiteSpeed free | Free, open source | Free, open source |
LiteSpeed vs Apache: LiteSpeed keeps Apache's configuration and .htaccess but swaps the engine for an event-driven one with a cache built in, so a host can switch a cPanel server without customers changing their sites. LiteSpeed vs Nginx: both are event-driven, but Nginx has no .htaccess and its own config format, so it suits a server you configure yourself.
Speed is left out on purpose: it depends on the site and the setup, above all how much can be served from cache, so test your own pages before and after a move.
LSCache and the LiteSpeed Cache WordPress plugin
LSCache saves a finished page so later visitors get the copy without PHP running again. The server can't tell when a page changes, so LiteSpeed publishes plugins that say what to cache and when to purge, for WordPress with WooCommerce, Joomla, Magento, OpenCart, PrestaShop, Drupal, Laravel and others. For WordPress it is LiteSpeed Cache for WordPress (LSCWP):
- Free. LiteSpeed says the plugin will always be free and open source; some QUIC.cloud services it links to, such as the CDN, are paid above certain usage.
- Page caching needs a LiteSpeed server: LiteSpeed Enterprise, OpenLiteSpeed, LiteSpeed Web ADC or QUIC.cloud CDN. On Apache or Nginx, many optimisation features still work, but caching does not.
- ESI (edge side includes) lets a cached page keep a small personal block, such as a logged-in menu; OpenLiteSpeed does not support it.
- Easy to check. Reload a page while logged out: the response header
X-LiteSpeed-Cache: hitmeans LSCache served it, per the LSCache getting-started guide.
Run only one full-page cache: a second page-caching plugin on top of LSCache can conflict with it.
QUIC and HTTP/3 support
HTTP/3 is the newest version of HTTP. It runs over QUIC, which uses UDP instead of TCP and sets up encrypted connections in fewer round trips. LiteSpeed says HTTP/3 is available in LiteSpeed Web Server, OpenLiteSpeed, LiteSpeed Web ADC and QUIC.cloud, and its QUIC library, LSQUIC, is open source. LiteSpeed's QUIC and HTTP/3 guide adds that QUIC is on by default, works only over HTTPS with a trusted certificate, and needs UDP port 443 open in the firewall as well as TCP 443. Browsers without HTTP/3 carry on over HTTP/2.
Who should care about LiteSpeed?
- WordPress and WooCommerce owners. LSCache plus the free plugin is a full page cache with purging handled for you.
- Anyone buying cPanel hosting. On LiteSpeed your .htaccess and cPanel work as before, with LSCache ready for WordPress, Joomla or OpenCart. Our guide to choosing web hosting in India lists it as a point to compare.
- People running their own VPS. OpenLiteSpeed through CyberPanel gives you the same cache for free; Nginx is the other common choice. See cPanel vs Plesk vs CyberPanel.
LiteSpeed hosting at RapidServer
- Web hosting: Linux cPanel hosting on LiteSpeed with LSCache and NVMe in our Mumbai (BOM1) data center; WordPress, Joomla and OpenCart plug straight into the server-level cache. From ₹49/mo on a 3-year term.
- WordPress hosting: LiteSpeed Enterprise with LSCache in Mumbai, purged automatically when you publish, plus HTTP/3 and Brotli. Cart and checkout pages are excluded from cache, and other full-page caching plugins that conflict with LSCache are not allowed. From ₹99/mo on a 3-year term.
- VPS hosting: pick CyberPanel, free, in the configurator: it is built on OpenLiteSpeed, with LiteSpeed Enterprise as a paid option, on Ubuntu or AlmaLinux. Linux VPS from ₹581/mo in Mumbai or Delhi NCR, ready a few minutes after payment.
Prices exclude 18% GST. Blog or business site? Compare WordPress hosting vs shared hosting.
LiteSpeed with LSCache and NVMe in Mumbai (BOM1), free SSL and business email, from ₹49/mo on a 3-year term plus GST.
See web hosting plans