Knowledge Base

Purging the WordPress object cache from the wp-admin dashboard

Category: Tutorials | Last modified: February 5, 2021

If you are an agency looking to provide an easy way for your clients to purge the WordPress object cache, or if you are looking for a way to purge the object cache without having to log into the My Pressable Control Panel – this custom plugin will achieve that!

WordPress object Cache Purge Plugin | Pressable

You may need to purge the WordPress object cache when making changes to your site in order to see the updates in real time. However, please be aware that flushing the object cache can result in slower page speed temporarily as the cache is rebuilt.

Installing and activating the Pressable Cache Purge Plugin

Download the Pressable Cache Purge plugin from here. The zip file contains the file pressable-purge-cache.php.

Upload the plugin via SFTP

You must first extract pressable-cache-purge.php from the downloaded zip file. You can then upload that file to your site.

  • Upload the plugin to the site via SFTP
  • Once connected via SFTP, navigate to the /wp-content/plugins/ directory.
  • Create a new folder inside the plugins directory and name it pressable-purge-object-cache.
  • Upload the file pressable-purge-cache.php into this folder (/wp-content/plugins/pressable-purge-object-cache).

Uploading the Purge Object Cache Plugin | Pressable

Once uploaded, you will need to log into your site and navigate to the Plugins tab. You will now see the plugin Pressable Cache Purge in your plugin list. Click on Activate.

Upload the plugin via wp-admin

You can also upload the provided zip file through the WordPress admin area of your website, under “Plugins –> Add New”.

Adding the WordPress Purge Object Cache Plugin | Pressable

Once uploaded, you will be prompted to activate the plugin.

Using the plugin

After activating the plugin, you will see the Object Cache Purge button added to your wp-admin bar. The WordPress Object Cache is purged when clicking this button. You will see a confirmation pop-up with the same message.

WordPress Object Cache Purge Menu Item | Pressable

That’s all there is to it!

If you’re having trouble with any of these steps or have additional questions, contact Support at help@pressable.com.

Learn more about the different Caching Types Available in Pressable and how Pressable handles Object Caching with Memcache.