> ## Documentation Index
> Fetch the complete documentation index at: https://kb.mochahost.com/llms.txt
> Use this file to discover all available pages before exploring further.

# How to enable LSCache for MediaWiki

## Overview

This plugin only works on the following cPanel packages:

* Ultimate
* WP Professional

This article describes how to install LSCache Plugin on MediaWiki

LSCache for MediaWiki uses advanced cache-management tools and optimization features to create an unmatched user experience, provides premium optimization features for faster page loading and improved scores on page speed measurement sites.

### Installation

Download LSCMW:

Upload the downloaded file **master.zip** using FTP or File Manager

Find the **.htaccess** file in the MediaWiki root directory, or create one if it doesn't exist. Add the following to the file to enable LSCache:

` 
 CacheLookup on 
 `

5. Move the LiteSpeedCache directory to /extensions in the MediaWiki directory

6. Edit LocalSettings.php in the MediaWiki root directory, and add the following near the end:

`wfLoadExtension( 'LiteSpeedCache' );`

7. Log into MediaWiki and from the administrator panel, navigate to **Special pages > Data and Tools > LiteSpeed Cache.**

8. Set **LiteSpeed Public Cache Enabled to checked** and click the **Save Cache Setting** button.

### Verify Your Site is Being Cached

1. Open [LSCache Check Tool](https://check.lscache.io/).

2. Enter the URL you wish to check.

The tool will respond with an easy-to-read Yes or No result, and a display of the URL's response headers, in case you want to examine the results more closely.
