Control Web Panel

CWP Products => LSPHP / LSAPI-Cache => Topic started by: Administrator on December 04, 2026, 09:42:58 PM

Title: LSPHP / LSAPI-Cache: overview, screenshots and documentation
Post by: Administrator on December 04, 2026, 09:42:58 PM
LSPHP / Cache

Serve PHP sites faster with LSAPI PHP (lsphp / cwpsapi) and full-page LSAPI-Cache — the speed of a LiteSpeed-style stack on the open-source web servers CWP already runs, with no per-site licence.
Choose it per site from PHP Settings → Selector. Works on Apache and Nginx. Read the LSAPI PHP (https://docs.control-webpanel.com/docs/admin-guide/php-settings/lsphp-cwpsapi) and WordPress & LSAPI-Cache (https://docs.control-webpanel.com/docs/admin-guide/php-settings/wordpress-lsapi-cache) docs.

(https://control-webpanel.com/wp-content/uploads/2026/11/cwp-edge-lsphp.jpg)

LSAPI PHP (lsphp)

PHP runs through the LiteSpeed SAPI (cwpsapi) as a persistent, pooled process — markedly faster and lighter than classic CGI/suPHP, while keeping per-user isolation.

Full-page LSAPI-Cache

Rendered pages are cached and served straight from the web server, skipping PHP and the database entirely for most visitors — huge wins under traffic spikes.

Per-site choice

Pick the PHP version and handler per domain in the Selector. Switch a single site to lsphp without touching the rest of the server.

Built for WordPress

LSAPI-Cache pairs with the standard LiteSpeed Cache WordPress plugin, so pages are cached automatically and purged the moment content changes.

Automatic purge

Publishing a post, updating a plugin or changing a setting clears just the affected cache — visitors always see fresh content, fast.

One-click from WordPress Manager

Enable caching and purge it for any site directly from the WordPress Manager (https://control-webpanel.com/wordpress-manager) — no plugin configuration needed to get started.

Lower server load

Fewer PHP workers and database queries per request means more concurrent visitors on the same hardware.

LiteSpeed-class speed on an open-source stack

LSAPI keeps PHP workers warm and pooled, and LSAPI-Cache stores rendered pages inside the web server — so most requests never start PHP or touch the database.

Persistent PHP workers

No per-request PHP startup: pooled lsphp processes cut CPU and memory per hit, so the same server serves far more traffic.

Served from the edge

Cached HTML is returned straight by Apache or Nginx in microseconds, and purged automatically the moment content changes.

No LiteSpeed licence

LiteSpeed-style performance on the web servers CWP already runs — nothing extra to buy or license per site.

Related: WordPress Manager (https://control-webpanel.com/wordpress-manager) · DEMO (https://control-webpanel.com/demo)


More information
Questions about LSPHP / LSAPI-Cache? Open a new topic in this board.