PHPackages                             litespeed/lscache-mediawiki - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Caching](/categories/caching)
4. /
5. litespeed/lscache-mediawiki

ActiveMediawiki-extension[Caching](/categories/caching)

litespeed/lscache-mediawiki
===========================

MediaWiki Full Page Cache for LiteSpeed Web Server

v1.0.4(10mo ago)5198[9 issues](https://github.com/litespeedtech/lscache_mediawiki/issues)[1 PRs](https://github.com/litespeedtech/lscache_mediawiki/pulls)GPL-3.0+PHPPHP &gt;=5.4

Since Dec 26Pushed 4mo ago2 watchersCompare

[ Source](https://github.com/litespeedtech/lscache_mediawiki)[ Packagist](https://packagist.org/packages/litespeed/lscache-mediawiki)[ Docs](https://www.litespeedtech.com/products/cache-plugins)[ RSS](/packages/litespeed-lscache-mediawiki/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (1)DependenciesVersions (5)Used By (0)

LiteSpeedCache for MediaWiki
============================

[](#litespeedcache-for-mediawiki)

The LiteSpeedCache plugin is a MediaWiki extension for MediaWiki sites running on a LiteSpeed webserver. Enable its LSCache feature to speed up page loading, reduce response time, and tremendously reduce server load for MediaWiki sites.

- It's simple, easy to use, and will speed up your wiki site up to 100 times faster, after 3 minutes of setup, with no extra cost.
- A special page integrated into MediaWiki provides full control of cache behavior.
- No more worring about cache sync problems. LScache will automatically purge a page when related article content has changed. You can set a longer cache expiration time to improve visitor experience, confident that the cache will be purged when relevant content changes.
- An optional private cache (for logged-in users) also will sync automatically when article content changes. No matter which user changes an article, all of the logged-in users will be served the new article content, regardless of the private cache expiration setting.

The LiteSpeedCache extension was originally written by LiteSpeed Technologies. It is released under the GNU General Public Licence (GPL).

See  for more information.

Prerequisites
-------------

[](#prerequisites)

This version of LiteSpeedCache requires MediaWiki 1.25+ and LiteSpeed LSWS Server 5.2.3+.

Installing
----------

[](#installing)

Download latest release and exact it to the extensions folder.

Or if you use Composer to manage dependencies, use the following command in the root folder:

```
composer require litespeed/lscache-mediawiki

```

Modify .htaccess file in MediaWiki site directory, adding the following directives:

```

    CacheLookup on

```

If your MediaWiki site has enabled MobileFrontend extension, adding the following directives:

```

    RewriteEngine On
    RewriteCond %{HTTP_USER_AGENT} Mobile|Android|Silk/|Kindle|BlackBerry|Opera\ Mini|Opera\ Mobi [NC] RewriteRule .* - [E=Cache-Control:vary=ismobile]
    RewriteRule .* - [E=Cache-Vary:stopMobileRedirect,mf_useformat]

```

Copy the LiteSpeedCache directory into the extensions folder of your MediaWiki installation. Then, add the following lines to your `LocalSettings.php` file (near the end):

```
    wfLoadExtension( 'LiteSpeedCache' );

```

After installation, You can navigate to **Special:Version** on your wiki to verify that the extension is successfully installed.

To find a link to the LiteSpeedCache plugin, navigate to **Special:SpecialPages** on your wiki, and look under the **Data and Tools** category.

Usage
-----

[](#usage)

After installation, login as admin and visit **Special:LiteSpeedCache** on your wiki to turn on LiteSpeedCache.

###  Health Score

37

—

LowBetter than 81% of packages

Maintenance47

Moderate activity, may be stable

Popularity14

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity61

Established project with proven stability

 Bus Factor1

Top contributor holds 87.8% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~934 days

Total

4

Last Release

302d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/70a011c15e27ce86ed6ed0e3e54cd708696079279383a4f3d847ad6140852b6c?d=identicon)[LiteSpeedTech](/maintainers/LiteSpeedTech)

---

Top Contributors

[![WuhuaChen](https://avatars.githubusercontent.com/u/34863158?v=4)](https://github.com/WuhuaChen "WuhuaChen (36 commits)")[![Bender250](https://avatars.githubusercontent.com/u/3519476?v=4)](https://github.com/Bender250 "Bender250 (2 commits)")[![D-Groenewegen](https://avatars.githubusercontent.com/u/10888726?v=4)](https://github.com/D-Groenewegen "D-Groenewegen (1 commits)")[![GSTbyMM](https://avatars.githubusercontent.com/u/136344864?v=4)](https://github.com/GSTbyMM "GSTbyMM (1 commits)")[![litespeedtech](https://avatars.githubusercontent.com/u/4990456?v=4)](https://github.com/litespeedtech "litespeedtech (1 commits)")

---

Tags

mediawikicachelitespeed

### Embed Badge

![Health badge](/badges/litespeed-lscache-mediawiki/health.svg)

```
[![Health](https://phpackages.com/badges/litespeed-lscache-mediawiki/health.svg)](https://phpackages.com/packages/litespeed-lscache-mediawiki)
```

###  Alternatives

[psr/simple-cache

Common interfaces for simple caching

8.1k757.1M2.6k](/packages/psr-simple-cache)[psr/cache

Common interface for caching libraries

5.2k712.8M1.6k](/packages/psr-cache)[react/cache

Async, Promise-based cache interface for ReactPHP

445124.5M44](/packages/react-cache)[beste/in-memory-cache

A PSR-6 In-Memory cache that can be used as a fallback implementation and/or in tests.

2514.6M10](/packages/beste-in-memory-cache)[fastd/fastd

A High Performance API Framework By Swoole Extension

42015.4k18](/packages/fastd-fastd)[anahkiasen/flatten

A package for the Illuminate framework that flattens pages to plain HTML

33113.0k](/packages/anahkiasen-flatten)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
