Base de Conhecimento

How to clear the LiteSpeed cache manually or with a plugin

LiteSpeed cache accelerates your site by caching visited pages for re-use. When making changes to your site, the cache continues to serve the older version until it is cleared. This article shows how to clear the LiteSpeed cache so changes are visible immediately.

Clear the LiteSpeed cache with a plugin

The best way to clear the LiteSpeed cache is by using a plugin for your installed application. LiteSpeed plugins are available for various popular applications and you can see the full list here. Using a plugin allows you to clear the cache from the administration panel of your application. The LiteSpeed cache plugin also provides advanced cache-management tools and optimization features so you can get the most out of your Turbo account.

Here is an example of clearing the LiteSpeed cache using the WordPress plugin. If you do not have the plugin installed, please see this article.

  1. On the leftside menu of WordPress, hover over the LiteSpeed menu item until the flyout menu appears and then click Manage.

  2. On the Manage page, click the Purge All button.

    Other choices on the Manage page can be used to clear specific portions of the cache.

Clear the LiteSpeed cache manually in cPanel

The LiteSpeed cache can be cleared by deleting the cache files stored in your account. To clear the cache manually, follow these steps:

  1. Log in to cPanel.
    If you do not know how to log in to your cPanel account, please see this article.
  2. Click on File Manager in the FILES section of cPanel.

  3. Click on the text of the lscache folder in the left column of File Manager.

  4. Click the Select All button in the toolbar above the right column of File Manager.

  5. Click the Delete button in the top toolbar of File Manager.

    A confirmation dialog will be displayed.

  6. In the confirmation dialog, select the Skip the trash and permanently delete the files checkbox and then click the Confirm button.

Clear the LiteSpeed cache manually in Plesk

The LiteSpeed cache can be cleared by deleting the cache files stored in your account. To clear the cache manually, follow these steps:

  1. Log in to Plesk.
    If you do not know how to log in to your Plesk account, please see this article.
  2. Click on the File Manager.

  3. In the left column of File Manager, click on the lscache folder.

  4. In the headings at the top of the right column of file mananger, click the checkbox to select all the files and folders in the lscache directory.

  5. In the File Manager toolbar, click the Remove button.

    A confirmation dialog box will be displayed.

  6. In the confirmation dialog box, click the Yes button to confirm the deletion.