---
title: "LiteSpeed Web Server"
description: "LiteSpeed Web Server: the Apache replacement that reads .htaccess, its LSCache page cache, the LiteSpeed Cache plugin for WordPress and its limits."
language: "en"
locale: "en-US"
type: "definition"
canonical: "https://www.wp-feint.com/glossary/litespeed/"
published: "2026-10-28T08:00:00+00:00"
modified: "2026-11-22T12:07:54+00:00"
translations:
  en-US: "https://www.wp-feint.com/glossary/litespeed/index.md"
  fr-FR: "https://www.wp-feint.com/fr/definitions/litespeed/index.md"
  es-ES: "https://www.wp-feint.com/es/glosario/litespeed/index.md"
  de-DE: "https://www.wp-feint.com/de/glossar/litespeed/index.md"
  it-IT: "https://www.wp-feint.com/it/glossario/litespeed/index.md"
  pt-BR: "https://www.wp-feint.com/pt/glossario/litespeed/index.md"
  nl-NL: "https://www.wp-feint.com/nl/woordenlijst/litespeed/index.md"
---

# LiteSpeed Web Server

LiteSpeed Web Server (LSWS) is a commercial, event-driven web server designed as a drop-in replacement for Apache: it reads Apache's configuration and .htaccess files. It includes a server-side page cache, LSCache, which WordPress sites use through the LiteSpeed Cache plugin.

LiteSpeed Web Server is developed by LiteSpeed Technologies. Its commercial version, called Enterprise, is widespread among shared hosting providers: it replaces Apache without customers having to change anything on their sites. There's also an open source edition, [OpenLiteSpeed](https://www.wp-feint.com/glossary/openlitespeed/), which doesn't share all of its capabilities.

## How LiteSpeed works

The vendor describes LiteSpeed as a drop-in replacement for [Apache](https://www.wp-feint.com/glossary/apache-http-server/), able to load its configuration files directly and read [.htaccess](https://www.wp-feint.com/glossary/htaccess/) files. WordPress rewrite rules, access restrictions and protections added by plugins therefore keep working. It also claims compatibility with control panels written for Apache, with modules for cPanel, Plesk and DirectAdmin.

Under the hood, the architecture is event-driven, like Nginx's: a few processes handle a large number of connections. PHP runs in lsphp processes, which talk to the server through LSAPI, LiteSpeed's own interface. LiteSpeed also supports [HTTP/3 and QUIC](https://www.wp-feint.com/glossary/http2-http3/).

![Diagram of a WordPress request's path on LiteSpeed: the browser requests a page, LiteSpeed applies the configuration and .htaccess rules like Apache, LSCache checks whether the page is cached and, if so, returns it directly without PHP, otherwise LSAPI passes the request to PHP, WordPress generates the page and the LiteSpeed Cache plugin tells the server what to cache and when to purge.](https://www.wp-feint.com/media/2026/10/litespeed-lscache-en.webp)

## LSCache and the LiteSpeed Cache plugin

LiteSpeed's big strength for WordPress is LSCache, a page cache built into the server. When a page is cached, LiteSpeed returns it without starting PHP or querying the database. The LiteSpeed Cache plugin for WordPress talks to this cache: it decides which pages to store, which to exclude (cart, customer account, admin area) and when to purge them after a change.

The plugin's official page separates two groups of features. The exclusive features, including automatic page caching, require OpenLiteSpeed, a commercial LiteSpeed product, LiteSpeed-powered hosting or the QUIC.cloud CDN. The general features, such as image optimization, CSS, JavaScript and HTML minification or support for a [Redis or Memcached object cache](https://www.wp-feint.com/glossary/redis-memcached/), work on any server, including Apache and Nginx.

*Video: “What Is LiteSpeed Web Server?” (NameHero)*

## For WordPress

- **Check the server before installing the plugin**: the `server` response header often says LiteSpeed. On Apache or Nginx without QUIC.cloud, the plugin provides no page cache.
- **Only one page cache**: don't stack LiteSpeed Cache with another page cache plugin.
- **Update the plugin promptly**: because it's so widely used, it has had several serious vulnerabilities, including [the 2024 privilege escalation flaws](https://www.wp-feint.com/litespeed-cache-privilege-escalation-flaws/). Our [history of LiteSpeed Cache vulnerabilities](https://www.wp-feint.com/litespeed-cache-security-vulnerabilities/) lists the affected versions.
- **Exclude personal pages from the cache**: an account page cached by mistake can show one customer's information to another.

WP Feint triggers a LiteSpeed Cache purge after its settings change and adapts its rules to the server; the [hosting and cache compatibility](https://www.wp-feint.com/features/hosting-and-cache-compatibility/) page explains how this works.

## Common mistakes

Installing LiteSpeed Cache on Apache hosting and expecting the same page cache; assuming LiteSpeed and OpenLiteSpeed are identical, when the latter only reads the rewrite rules in .htaccess; forgetting to purge the cache after changing a menu or a widget.

## Related terms

- [OpenLiteSpeed](https://www.wp-feint.com/glossary/openlitespeed/)
- [Apache HTTP Server](https://www.wp-feint.com/glossary/apache-http-server/)
- [htaccess file (.htaccess)](https://www.wp-feint.com/glossary/htaccess/)
- [Nginx](https://www.wp-feint.com/glossary/nginx/)
- [HTTP/2 and HTTP/3](https://www.wp-feint.com/glossary/http2-http3/)


## Sources

- [LiteSpeed Technologies : LiteSpeed Web Server](https://www.litespeedtech.com/products/litespeed-web-server)
- [LiteSpeed Documentation : LiteSpeed Web Server](https://docs.litespeedtech.com/lsws/)
- [WordPress.org : LiteSpeed Cache](https://wordpress.org/plugins/litespeed-cache/)
