Hosting
Servers
Web Development Pricing
Resources
Get started → Log in
Home/Blog/What is LiteSpeed web server?

What is LiteSpeed web server?
LSWS, LSCache and HTTP/3 explained

27 November 20268 min readBy the RapidServer team

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:

OpenLiteSpeedLiteSpeed Enterprise
LicenceFree and open source, under GPLv3Commercial, with a free starter tier
.htaccessRewrite rules only; changes need a restartFull support; changes picked up without a restart
Apache configurationApache-compatible rewrite rulesReads Apache's configuration files directly
Control panelsCyberPanel, DirectAdmin or its own WebAdmin consolecPanel/WHM and Plesk plugins, DirectAdmin, CyberPanel
LSCacheBuilt in, without ESIBuilt in, with ESI
SupportCommunityCommercial

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:

LiteSpeedApacheNginx
ArchitectureEvent-drivenProcess- or thread-based, through its MPMs (prefork, worker, event)Event-driven
ConfigurationReads Apache configuration (Enterprise)httpd.conf and Apache modulesIts own nginx.conf syntax
.htaccessYes (OpenLiteSpeed: rewrite rules only)YesNo; rules go in the server configuration
Page cacheLSCache built in, controlled by app pluginsmod_cache, often with Varnish in frontFastCGI and proxy cache, set up by hand
HTTP/3 (QUIC)Built in, in every LiteSpeed server productNot in Apache 2.4 itself; usually added with a proxy or CDNExperimental module since 1.25.0, not built by default
LicenceEnterprise commercial; OpenLiteSpeed freeFree, open sourceFree, 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: hit means 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.

Get cPanel hosting on LiteSpeed in Mumbai.

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

Questions

What is LiteSpeed web server in simple words?+
It is the program on a hosting server that answers visitors' requests and sends back your pages, like Apache or Nginx. LiteSpeed Technologies built it to replace Apache without changing your .htaccess rules, with a page cache, LSCache, inside.
Is LiteSpeed better than Apache?+
It has two practical advantages for PHP sites: an event-driven design that handles many connections with little memory, and LSCache built in. It reads Apache's configuration and .htaccess, so most sites move without changes. The speed gain depends on the site and the setup, so test your own pages.
LiteSpeed vs Nginx: which should I use?+
Both are event-driven. Pick LiteSpeed for cPanel hosting, .htaccess rules and apps with an LSCache plugin, such as WordPress. Pick Nginx for a server you configure yourself; it has no .htaccess, so rules go in its own configuration files.
Is LiteSpeed free?+
OpenLiteSpeed is free and open source under GPLv3. LiteSpeed Enterprise is commercial, with a free starter tier. The LiteSpeed Cache plugin for WordPress is free. On RapidServer web and WordPress hosting, LiteSpeed comes with the plan.
Does LiteSpeed Cache work without a LiteSpeed server?+
Only partly. Page caching needs LiteSpeed Enterprise, OpenLiteSpeed, LiteSpeed Web ADC or QUIC.cloud CDN. On Apache or Nginx, many of the plugin's optimisation features still work, but it cannot cache pages.
LiteSpeed server kya hai?+
LiteSpeed ek web server software hai, jo LiteSpeed Technologies ne banaya hai. Ye Apache ki jagah chal sakta hai aur aapki .htaccess rules padh leta hai, isliye site mein kuch badalna nahi padta. Isme LSCache naam ka page cache built-in hai. RapidServer ki cPanel web hosting aur WordPress hosting Mumbai mein LiteSpeed par chalti hai.
Do you offer cPanel hosting with LiteSpeed in India?+
Yes. Every RapidServer web hosting plan is Linux cPanel hosting on LiteSpeed with LSCache and NVMe in our Mumbai (BOM1) data center, from ₹49/mo on a 3-year term plus 18% GST. WordPress hosting runs LiteSpeed Enterprise in Mumbai, from ₹99/mo.
Can I run LiteSpeed on a VPS?+
Yes. Choose CyberPanel, free, in our VPS configurator to get OpenLiteSpeed on Ubuntu or AlmaLinux. A Linux VPS starts at ₹581/mo plus 18% GST in Mumbai or Delhi NCR, ready a few minutes after payment.

Host on LiteSpeed in India.

cPanel web hosting and WordPress hosting on LiteSpeed with LSCache and NVMe in Mumbai, with free SSL and free migration.