How to disable LiteSpeed caching

LiteSpeed, our web server for shared hosting, comes with built-in caching features. If you wish to disable LiteSpeed caching, follow these steps:

Running WordPress:

If your website is powered by WordPress, we recommend using the “WordPress LiteSpeed Cache” plugin. Install and activate this plugin, and within its settings, you can disable LiteSpeed caching.

Running Drupal, Joomla, Magento, OpenCart, Prestashop:

LiteSpeed offers plugins for various content management systems (CMS), such as Drupal, Joomla, Magento, OpenCart, and Prestashop. You can download these plugins from LiteSpeed’s official website. Once installed, check the plugin settings, where you’ll find an option to disable the LiteSpeed cache.

Not Using a Supported CMS:

If your website doesn’t use a CMS supported by LiteSpeed, you can disable the cache by editing your .htaccess file on the server. Here’s how:

a. Ensure you have a .htaccess file in your website’s directory, typically “public_html” for your primary domain.

b. Open the .htaccess file and add the following code:

RewriteEngine On
RewriteRule .* - [E=Cache-Control:no-cache]

c. Save the file.

By following these steps, you will disable LiteSpeed caching for your website. Keep in mind that this action will disable caching for everything in the “public_html” folder. Any add-on domains with document roots inside the “public_html” folder will also have LiteSpeed caching disabled.