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.52 KB
MD5: 0003a04adce52bb74cf0b5e248e278df
SHA-1: 650e3b0fd2970efa232d2919aacb05435ed09e5c
SHA-256: efc58a9dcdaba034896ed7effa72cafbd3689c3e7dfee2a37d6c5ea6174f14d3
Download zip 47.1 KB
MD5: a71a54f1165a9095054ee9a2d1c86811
SHA-1: 7eb84afd903d2b209d3aadfa2ba66748a26e1118
SHA-256: 5a30b9dda60eb457f580d87253f2a1f10a9a7813a699a703be77230d251f2c38

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: 27 Apr 2026 at 06:32 UTC
New features

Other releases