The LiteSpeed Cache for WordPress plugin includes a well-equipped toolbox that lets you run some advanced features on your site.
This Knowledge Base article will explain how to use the various features in the LSCache for WordPress toolbox.
How to use the LiteSpeed Cache Toolbox in WordPress
Step 1: Login to your /wp-admin and in the menu on the left, hover over the LiteSpeed Cache plugin, and in the little menu that pops out, click Toolbox.
Step 2: You will be presented with a number of tabs each with its own options.
Let’s run thru each tab and their options so you can better understand what the features the LSCache for WordPress Toolbox have.
The purge settings give you some powerful cache purging options. They include the following:
- The option to purge the front page.
- Purge all pages.
- Purge 403 error pages.
- Purge 404 error pages.
- Purge 500 error pages.
- Purge All – LSCache entries created by the plugin.
- Purge All CSS/JS Cache
- Purge All Opcode Cache
- Purge All
- and Empty Entire Cache
These can be great for cleaning things up after posting new content or making changes, but be sure not to purge the entire cache as it can result in your web server performance taking a hit as doing this to a busy site will cause users to reach uncached pages.
At the very bottom of the page, you have the option to do mass purges via a list.
You can purge by category, post ID, tag, or URL.
In the text box, you would list all the URLs or post/tag/category names, as a list, then you can purge them.
LiteSpeed wouldn’t be worth it’s salt if it didn’t have a built-in import/export tool, now would it?
The Export setting allows you to export a configuration file with your current LiteSpeed configuration.
The Import file setting allows you to import the very same file.
Ideally, you would use the Export function to make a backup of your LSCache configuration, and the Import function to import that configuration if you had to rebuild your site, for example.
The last setting on this page is the Reset All Settings function. This setting resets all LSCache settings back to their defaults. Be careful with this option!
The Edit .htaccess tab allows you to perform 2 functions:
- You can edit the path of the .htaccess file for your front and back end.
- You can see the current .htaccess file without having to open it in another app, or your cPanel’s file manager.
- Within this view, you can also make changes to the file if you need.
You can control the following:
- Frontend Heartbeat Control. By default, this is off.
- Frontend Heartbeat TTL. By default, this is 60 seconds.
- Backend Heartbeat Control. By default, this is off.
- Backend Heartbeat TTL. By default, this is 60 seconds.
- Editor Heartbeat. By default, this is off.
- Editor Heartbeat TTL. By default, this is 60 seconds.
The Report settings allow you to submit a report of your WordPress environment, along with any Notes you may have about it, to LiteSpeed Support. This tab is useful if you have opened a ticket with LiteSpeed.
The Debug Settings are pretty helpful if you are trying to track down a particular problem. You can control the following settings with the Debug Control:
- Disable All (Debug) Features. This is off by default.
- Debug Log changes the output of WordPress’ log. To prevent filling up your web storage, this setting should be off when everything is working fine. The Admin IP setting of this option will only output log messages on requests from admin IPs. The logs will be output to /wp-content/debug.log.
- Admin IPs are where you would list the IP addresses of your Admins, should you be using the Debug Log > Admin IP Only feature.
- Debug Level – this allows you to change the level of detail used in the logs from basic to advanced.
- Log File Size Limit allows you to set and change the current max file size limit for log files.
- Log Cookies allows you to enable or disable the logging of cookies.
- Collapse Query Strings can be useful in the logs to improve readability.
- Debug URI Includes is where you would list the pages you want to log if you are logging manually.
- Debug URI Excludes is the opposite, where you would exclude pages from logging if any.
This setting lets you clear the Debug Log or View it, if enabled.
The Beta Test features of LSCache allow you to install the Beta Version of the LSCache for the WordPress plugin.
With the various buttons, you can use the latest build of the plugin. Depending on far on the edge you want to live, you can choose from dev, master, or the latest release version.
This is a really useful option if you want to test different versions of LSC (preferably on a staging site) and switch back and forth between BETA and STABLE versions. I imagine it could also be useful for rolling back to a previous version of the new ones are giving problems.
Are you tired of slow WordPress hosting? We use LiteSpeed caching to deliver content to your visitors almost instantly. ⚡ Check out our WordPress Hosting plans