Clearing LiteSpeed Cache on WordPress
LiteSpeed Cache (LSCache) is a powerful caching solution for WordPress sites, designed to improve site speed and performance. However, after making changes to content or design, cached versions can sometimes prevent updates from appearing immediately. This guide will walk you through clearing the LiteSpeed cache using both the admin toolbar shortcut and LSCache settings, ensuring your visitors see the latest version of your site.
Clearing the Cache via the Admin Toolbar Shortcut
- Log into WordPress Dashboard
- Access the WordPress admin area (
yourdomain.com/wp-admin
).
- Access the WordPress admin area (
- Use the Admin Toolbar Shortcut
- In the top toolbar, hover over LiteSpeed Cache.
- Click on Purge All to clear the entire cache in one step.
This shortcut is the fastest way to clear the cache for all pages without navigating the plugin settings.
Clearing the Cache from LiteSpeed Cache Dashboard
- Go to LiteSpeed Cache Settings
- In the left sidebar, select LiteSpeed Cache > Dashboard.
- Select Purge Options
- In the LiteSpeed Cache dashboard, click Purge All for a full cache clear.
Advanced Purge Options (for Specific Cache Types)
If you need to clear cache for specific content:
- Go to LiteSpeed Cache > Toolbox > Purge.
- Select options like CSS/JS Cache, Cache by URL, or Private Cache to target specific areas.
Verifying Cache Purge
- Clear Browser Cache: To avoid seeing outdated content.
- Reload Pages in Incognito: Verify changes by loading the site in a new incognito window or on another device.
Pro Tips:
- Automatic Purging on Updates: Go to LiteSpeed Cache > Settings > Purge to enable automatic cache clearing when posts or pages are updated.
- Limit Full Purges: Frequent full purges can temporarily slow performance; target specific caches when possible.