This is an old revision of the document!


LiteSpeed Cache for WordPress Management: Purge

Once you have LiteSpeed Cache for WordPress configured and customized to your liking, you can turn your attention to managing the cache itself. Ideally, there should be very little actual cache management required. If you set your configuration correctly, the cache should function like a well-oiled machine.

Still, there are times when you might want to take matters into your own hands for whatever reason. This section will help you to successfully manage your cache manually.

Press this button to purge only the front page of your site.

Multi-site: pressing this button in the network admin will result in only the main site’s front page being purged.

This button will purge all cache entries that belong to pages. Don’t let the use of the word “page” confuse you here. For this button (and this button only) “page” refers to the WordPress Page post type. Everywhere else, “page” is used in the context of individual entries in a “full-page cache.”

These buttons allow you to purge 403, 404, and 500 error pages.

Multi-site: If one of these buttons is pressed in the network admin, the main site's error pages will be purged.

This button will purge all cache entries related to the current WordPress installation. This means that if a page is cached on the site using a different web application (for instance, a separate WordPress blog or a XenForo forum), it will not purge those cache entries.

If you have the crawler running, the Purge All button will also purge any crawled pages and reset the sitemap.

Multi-site: pressing this button in the network admin will trigger the “Purge All - LSCache” functionality on all of the network’s sites.

This button will purge all of the minified and combined JavaScript and CSS files that were cached as a result of the settings in the Optimize tab.

This button clears the opcode cache, not to be confused with LSCache, which is a separate thing. Opcode cache stores compiled PHP code, not complete pages.

This button combines the previous three “Purge All” buttons and resets LSCache, CSS/JS Cache, and Opcode Cache.

This is one of those buttons that should only be used when you have a problem that can’t be solved any other way. Press it to purge all of the cache entries for the entire site, including those entries from other web applications.

Multi-site: this option is only made available in the network admin. Individual site admins do not have the ability to clear the entire cache.

This area allows you to purge a list of pages. The available list types are: Category, Post ID, Tag,and URL. The list of the selected type should be input one-per-line in the text area above the Purge List button.

  • Admin
  • Last modified: 2018/04/11 18:24
  • by Lisa Clarke