How to Clear the Cache of WP Super Cache

Seeing an invalid (old, expired) cached pages is one of the most common and frustrating stumbling blocks for people getting to WordPress development for the first time. Different caching systems have different (or non-existent) options to clear that cache. In this video and guide we explain how the clear the cache if you’re using the WP Super Cache plugin.

While editing your site’s PHP, you might run into a problem where the changes you make don’t appear on the live site. While WP Super Cache is a great way to make your site faster for users, it does mean that sometimes you as a developer have to remember to “purge the cache”. How that’s done varies, but the need to clear cache can be kind of frequent while doing small tweaks for client projects. Here’s the video explaining how to do it:

Here’s how to purge your cache of WP Super Cache

  1. From your site’s dashboard, select “Settings” and then “WP Super Cache”.
  2. Click the “Delete Cache” button under the “Delete Cached Pages” section.

    how to purge WP Super Cache

    (click to enlarge)

  3. After your first click, your cache will be cleared! You’ll be re-directed to the “Contents” tab within the WP Super Cache settings. If you need to clear the cache again (or just want to make double-sure it cleared), you want to click the click “Delete Cache” here (ignoring the option for “Delete Expired” even though it’s highlighted by default).

    how to purge wp super cache

    (click to enlarge)

  4. To see your refreshed (uncached) site, open it in a different tab and check that your desired change is now visible. If you already had your site open, you might need to hard refresh (command-shift-r) as well before it will appear.
  5. That’s it! If you’re making a lot of small changes to your site but you want to keep caching on, it’s a great idea to leave this tab open so you can repeat this process regularly.

Image credit: anarchosyn


Add a Comment

Your email address will not be published. Required fields are marked *