Purging the WordPress object cache from the wp-admin dashboard
Category:Tutorials | Last modified: November 12, 2020
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!
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.
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).
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”.
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.
That’s all there is to it!
If you’re having trouble with any of these steps or have additional questions, contact Support at email@example.com.
Although there are plugins (such as Redirection) that can help you create redirects on your site, there is a way to have more (programmatic) control over redirects on our platform: custom-redirects.php. To…