Skip to content
Hosting2 min read

What is LiteSpeed Web Server?

Short answer

LiteSpeed Web Server is a commercial web server from LiteSpeed Technologies that works as a drop-in replacement for Apache: it reads .htaccess files and the same configuration format, but uses an event-driven design that needs less memory under load, and it has built-in caching called LSCache.

ArabyHost teamLast updated: ShareWhatsAppXLinkedIn
Contents
  1. How LiteSpeed works
  2. Example: is your page served from cache?
  3. Common problems
  4. On ArabyHost

A web server is the program that receives a browser’s request and sends back the page. LiteSpeed does the same job as Apache, but handles connections differently and includes a built-in cache that makes WordPress sites in particular much faster once it’s switched on.

How LiteSpeed works

  • Event-driven design: a handful of processes serve thousands of concurrent connections, instead of one process per connection as in Apache’s prefork mode.
  • PHP through LSAPI: a dedicated interface (lsphp) for running PHP efficiently.
  • Built-in LSCache: full-page caching inside the server, controlled by plugins such as LiteSpeed Cache for WordPress.
  • Modern protocols: HTTP/2 and HTTP/3 (QUIC).
  • Apache compatibility: it reads .htaccess files and mod_rewrite rules.

Example: is your page served from cache?

With the LiteSpeed Cache plugin active, check the response header:

curl -sI https://example.com/ | grep -i x-litespeed-cache
# x-litespeed-cache: hit

hit means the page came from cache without running PHP. miss means it was generated now and will be cached for the next visit. If the header is missing entirely, caching isn’t active for that page.

When the plugin is active it adds a block to .htaccess between # BEGIN LSCACHE and # END LSCACHE. Don’t edit that block by hand; change settings in the plugin, which rewrites the block every time you save.

Common problems

  • Old content after an edit: purge the cache from the plugin (Purge All).
  • Pages that never cache: cart, checkout and logged-in pages are normally excluded, and that’s intentional.
  • An .htaccess rule doesn’t work: some Apache-specific modules aren’t supported, so check the error log.
  • Two caching plugins at once: running LiteSpeed Cache alongside another page-cache plugin causes conflicts and odd results. Keep just one.

On ArabyHost

The web server on ArabyHost is LiteSpeed. On WordPress and WooCommerce plans you install the site in one click with the LiteSpeed Cache plugin, then tune it as in the guide to speeding up WordPress and the LSCache page. Because LiteSpeed reads .htaccess, redirect and rewrite rules you wrote for Apache usually work as they are.

FAQ

Do I need to change my site to move from Apache to LiteSpeed?

Usually not. LiteSpeed reads the same .htaccess files and mod_rewrite rules, so most sites work unchanged. You may only need to review rules that depend on rare Apache modules.

What's the difference between LiteSpeed and the LiteSpeed Cache plugin?

LiteSpeed is the web server; LiteSpeed Cache is a WordPress plugin that controls caching inside it. The plugin's page caching needs a LiteSpeed server; on Apache or Nginx only its other optimization features work.

What is OpenLiteSpeed?

The free, open-source edition of LiteSpeed. It shares the core engine with the commercial version, but its .htaccess handling is limited and rewrite rule changes only apply after a server restart.

Useful? Share it with someone who needs it:WhatsAppXLinkedIn

Read next

Ready to put your idea online?

Fast, isolated hosting, support that understands you, and an AI assistant that fixes problems with you.