LiteSpeed

LiteSpeed Cache for Joomla, PrestaShop, OpenCart, Magento and other CMSs

Use the official LiteSpeed Cache extensions for Joomla, PrestaShop, OpenCart, Magento and Drupal on cPanel hosting: install, enable, test and purge correctly.

IntermediatecPanel hosting with LiteSpeed3 min read

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

PlatformExtensionWhere to get it
JoomlaLiteSpeed Cache for JoomlaJoomla Extensions Directory
PrestaShopLiteSpeed Cache for PrestaShopLiteSpeed website / PrestaShop addons
OpenCartLiteSpeed Cache for OpenCartOpenCart marketplace
Magento 2LiteMage CacheLiteSpeed (requires a LiteMage-enabled server licence)
DrupalLiteSpeed Cache for DrupalDrupal.org
XenForo, MediaWiki, ShopwareOfficial pluginsLiteSpeed website

Install and enable (general steps)

  1. Download the extension from the official source for your CMS version.
  2. 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.
  3. Enable the cache in the extension's settings. The extension adds the needed rules to .htaccess.
  4. 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

  1. Log out of the CMS, open a public page in a private window and press F12 → Network.
  2. Reload twice: the page request should show x-litespeed-cache: hit.
  3. 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.

Was this guide helpful?

Still stuck?

Ask MdmHost AI for a quick answer, or open a ticket and our team will take a look. We are here 24/7.