LSCache for MediaWiki

Speed up page loading, improve response time for all of your visitors.

Significantly reduce server load for both site readers and editors.

Cache your MediaWiki Site

MediaWiki, the software popularized by Wikipedia, is a feature-rich wiki implementation that uses PHP to process and display data stored in its MySQL database. But PHP-based applications can eat up precious resources, and bog down page load times.

The LiteSpeed Cache Extension for MediaWiki allows your wiki’s page requests to bypass PHP entirely, and deliver speedy results to logged-in and non-logged-in users alike!


The LiteSpeed Cache extension for MediaWiki is a PHP-based extension that communicates with your installation of LiteSpeed Web Server and its built-in page cache, LSCache. Overhead is reduced and caching can be done more efficiently than with other PHP-based caches.

› Server-Level Full-Page Cache

› Cache for Logged-in Users

› Tag-Based Caching and Purge

› Auto-Purge Content After Edits

› Integrated into LSWS and Web ADC

› Works with OLS and LiteSpeed Ent.

Frequently Asked Questions

Yes, LSCcache for MediaWiki will always be free and open source. That said, a LiteSpeed server is required, and there are fees associated with some LiteSpeed server editions.

A LiteSpeed server is required in order to use this plugin.


  1. LiteSPeed Web Server Enterprise with LSCache Module (v5.2.2+)
  2. LiteSpeed WebADC (v2.1+)

Any single server or cluster including a LiteSpeed server will work.

The LSCache Module is built into your licensed copy of LiteSpeed Web Server. When it comes to caching dynamic content, the LSCache Module does all of the work.


The LSCache Extension for MediaWiki is simply an interface. It allows MediaWiki to instruct the server Module on what to cache, how long to cache it, and when to purge. And it allows the site owner to manage and configure the Module. Without the server Module, the MediaWiki Extension could not function.


A licensed LSCache Module is required in order to use the free LSCache MediaWiki Extension.

The cache entries are stored at the LiteSpeed server level. The simplest solution is to use LiteSpeed WebADC, as the cache entries will be stored at that level.


If using another load balancer, the cache entries will only be stored at the backend nodes, not at the load balancer.


The purges will also not be synchronized across the nodes, so this is not recommended.


If a customized solution is required, please contact LiteSpeed Technologies at


NOTICE: The rewrite rules created by this plugin must be copied to the Load Balancer.


No, not at this time.

LiteSpeed Cache for MediaWiki works right out of the box with default settings that are appropriate for most sites. Please refer to the steps from our How to Install LSCache for MediaWiki page.

MediaWiki Cache Doc

All you need to know about installing, configuring, customizing, and troubleshooting MediaWiki Cache.