Question
How to clear a WordPress instance's cache on Plesk?
Answer
It's possible to clear WordPress cache using the WP Toolkit command line options.
Linux
Windows
Connect to the server via SSH
Run this command and make a note of the desired WordPress instance ID
# plesk ext wp-toolkit --list
Replace
<ID>in this command and run it to clear its cache# plesk ext wp-toolkit --clear-cache -instance-id <ID>
Connect to the server via RDP
Start a Command Prompt or PowerShell
Run this command and make a note of the desired WordPress instance ID
PS plesk ext wp-toolkit --list
Replace
<ID>in this command and run it to clear its cachePS plesk ext wp-toolkit --clear-cache -instance-id <ID>