Install

Works with Drupal: ^10.3 || ^11

Using dev releases is not recommended, except for testing.

Using Composer to manage Drupal site dependencies

Alternative installation files

Download tar.gz 30.51 KB
MD5: 2928aa197471dfd45e74fae589f213b7
SHA-1: 5ec8cff931120a3986881b26b0048582866169e6
SHA-256: 2101017e97f5a61ed0120c9398e5ec35b47e3f0530311ac0b14c82f2002fe77b
Download zip 47.07 KB
MD5: 5bf45edffbf2cad3624cdc4bc07856d9
SHA-1: b4fbabaf3929822c9937d3b453ffc602d6d3aa00
SHA-256: bf64022a5c6a860bfdda52a77c3e292cb4a498238118206ee8cda30279ec6389

Release notes

First release of LSCache — a Drupal.org-native integration for
LiteSpeed Cache, built around Drupal's native cache tag system and
the Purge framework.

This is the scaffold alpha. It covers the module's core
responsibility — emitting cache-tag headers on cacheable
responses — and sets up the architecture for the invalidation and
advanced features that land in subsequent releases.

## What works in this release

- **Response headers**: cacheable responses receive `X-LiteSpeed-Tag`
(Drupal cache tags) and `X-LiteSpeed-Cache-Control` (configurable
TTL) so LiteSpeed can cache and tag pages natively.
- **Admin form** at Configuration > Development > Performance >
LSCache, covering the enable flag, default TTL, per-site tag
prefix, and a debug mode.
- **Site prefix**: useful when multiple Drupal sites share one
LiteSpeed cache and need their tags scoped to avoid collisions.
- **lscache_purger submodule** registered as a Purge framework
plugin declaring support for the `tag` invalidation type. The
actual HTTP request that purges tags lands in 1.0.0-alpha2 —
see ROADMAP.md.

## What does NOT work yet

- **Tag invalidation**: `lscache_purger` registers the plugin but
currently marks every invalidation as failed. Enable the submodule
to get the skeleton registered in your Purge pipeline, but do not
rely on it to actually invalidate LiteSpeed until 1.0.0-alpha2.
- ESI, private cache, and vary cookies are all on the roadmap for
subsequent minor releases.

## Relationship to the LiteSpeed-published module

LiteSpeed Technologies publishes a Drupal module at
github.com/litespeedtech/lscache-drupal that is not on Drupal.org.
This module is a clean-room d.o-native alternative, built around
Drupal's cache tag system and the Purge framework so it integrates
with the rest of the Drupal contrib caching ecosystem out of the box.

## Requirements

- Drupal 10.3 or later, or Drupal 11.
- LiteSpeed Web Server or OpenLiteSpeed with LSCache enabled.
- drupal/purge (only to enable the lscache_purger submodule).

## Roadmap

See ROADMAP.md in the repository for the full release trajectory
through 1.3.0. Suggestions and patches welcome on the issue queue.

Created by: dinis
Created on: 24 Apr 2026 at 17:09 UTC
Last updated: 25 Apr 2026 at 09:31 UTC
New features

Other releases