LiteSpeed Cache is best known for WordPress, but LiteSpeed publishes official cache extensions for many other platforms. They hook into the CMS so pages are cached and purged automatically when content changes, which is safer than generic rules.
Before you start
- A site on MdmHost or another LiteSpeed server (see LiteSpeed explained).
- Admin access to the CMS and a recent backup.
- No other full-page cache extension active; remove it first to avoid conflicts.
Available extensions
| Platform | Extension | Where to get it |
|---|---|---|
| Joomla | LiteSpeed Cache for Joomla | Joomla Extensions Directory |
| PrestaShop | LiteSpeed Cache for PrestaShop | LiteSpeed website / PrestaShop addons |
| OpenCart | LiteSpeed Cache for OpenCart | OpenCart marketplace |
| Magento 2 | LiteMage Cache | LiteSpeed (requires a LiteMage-enabled server licence) |
| Drupal | LiteSpeed Cache for Drupal | Drupal.org |
| XenForo, MediaWiki, Shopware | Official plugins | LiteSpeed website |
Install and enable (general steps)
- Download the extension from the official source for your CMS version.
- Install it in the CMS admin: Joomla System → Install → Extensions; PrestaShop Modules → Module Manager → Upload a module; OpenCart Extensions → Installer, then enable under Extensions → Modules.
- Enable the cache in the extension's settings. The extension adds the needed rules to
.htaccess. - Set the public cache TTL; defaults are fine to start.
Note: Magento's LiteMage needs a server licence that includes LiteMage. On shared hosting, ask support whether it is available before installing.
Test the cache
- Log out of the CMS, open a public page in a private window and press F12 → Network.
- Reload twice: the page request should show
x-litespeed-cache: hit. - Add a product to the cart (shops) and confirm the cart and checkout pages are not cached (no hit header) and show the right items.
Purging
- The extensions purge affected pages when you edit content or products.
- Each extension has a Purge All button in its settings for theme or menu changes.
- You can also flush from cPanel's LiteSpeed Web Cache Manager where supported.
Troubleshooting
No cache header
The extension is disabled, the .htaccess rules were removed, or the page sets a session cookie for every visitor. See LiteSpeed Cache troubleshooting.
Wrong content shown to logged-in users
Check the extension's private cache and exclusion settings for account, cart and checkout pages; for custom apps use rules from LSCache with .htaccess.
Frequently asked questions
Do these extensions cost anything?
The CMS extensions are free. LiteMage for Magento depends on the server licence.
Can I use a CDN as well?
Yes. QUIC.cloud or Cloudflare can sit in front; purge both when you change site-wide elements.
Will my theme or modules break?
Rarely. Modules that show personal data, such as customer greetings, may need to be marked as private or uncached in the extension settings.
How long should pages be cached?
Start with the extension default, often a day for public pages, and rely on automatic purging when content changes.
Is a crawler included?
Several extensions include a crawler to warm the cache. Use it sparingly on shared hosting to stay within resource limits.
