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!
Why Should You Use LiteSpeed Cache for MediaWiki?
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 Related Content After Edits
- Integrated into LSWS and Web ADC
- Works with OpenLiteSpeed and LiteSpeed Enterprise
Frequently Asked Questions
Is the LiteSpeed Cache Extension for MediaWiki free?
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.
What server software is required for this plugin?
A LiteSpeed server is required in order to use this plugin.
- LiteSPeed Web Server Enterprise with LSCache Module (v5.2.2+)
- LiteSpeed WebADC (v2.1+)
Any single server or cluster including a LiteSpeed server will work.
What is the difference between the LSCache Module for LSWS (requires a license) and the LSCache Extension for MediaWiki (free)?
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.
Does this plugin work in a clustered environment?
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 This email address is being protected from spambots. You need JavaScript enabled to view it.
NOTICE: The rewrite rules created by this plugin must be copied to the Load Balancer.
Does LiteSpeed Cache for MediaWiki work with OpenLiteSpeed?
Yes.
Does LiteSpeed Cache for MediaWiki have a crawler?
No, not at this time.
How can I install LiteSpeed Cache for MediaWiki?
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.
How can I check if LiteSpeed Cache is enabled?
You can check if LiteSpeed Cache (LSCache) is enabled by using the browser's developer tools. Check out our guide Check if LiteSpeed Cache is Enabled for a step-by-step tutorial.