Purge Nginx cache automatically after making website changes. Uses the HestiaCP API.
Important: Hestia 1.6.12 fixes an issue where purging the cache could make the website unavailable, resulting in a 502 error. If you aren’t using this version, please upgrade!
This plugin automatically purges the Nginx cache after you make a website change such as updating a post or changing your theme.
You also have the ability to manually purge the cache using a button in the WordPress admin bar.
FAQ
How do I generate an Access key?
Refer to the Installation tab for information on how to configure the plugin.
Can I manually purge the cache using the plugin?
Yes, you can. Once the plugin is installed and activated, you will see a “Purge Nginx Cache” button in the admin bar.
I am experiencing issues with the plugin. What do I do?
You can try to resolve the problem by purging the cache, deactivating the plugin, or disabling Nginx caching in Hestia.
If you are using Cloudflare and get an error when purging the cache, enter the hostname of the Hestia install in the settings, not the site URL.
How can I report security bugs?
You can report security bugs through the Patchstack Vulnerability Disclosure Program. The Patchstack team help validate, triage and handle any security vulnerabilities. Report a security vulnerability.
ChangeLog
2.4.1
- Fix CSRF possibility (thanks to Marek Mikita for reporting via PatchStack).
2.4.0
2.3.0
- Add an option to disable automatic purging.
2.2.5
- Fix a dumb issue with the new JavaScript.
2.2.4
- Fix the purge button not working in the frontend.
- Add notice when purging in the frontend.
- Add translations for “pt_BR” and “fr_CA”.
2.2.3
2.2.2
- Fix issue where a warning could exist if an option wasn’t defined.
2.2.1
- Make sure the nonce is always hidden.
2.2.0
- Show button on the frontend when logged in.
2.1.4
- Fix domain field in admin
- Increase response timeout, in case the server is slow
- Remove SSL verification, in case your HestiaCP serves a self-signed certificate
2.1.3
- Fixed PHP 8.1 compatibility
2.1.2
- Fixed require at least “Can edit posts” permission to reset cache
2.1.0
- Add a setting to disable the admin bar button.
- Add a setting to change the admin bar button’s text.
- Add a purge cache button in the settings page.
- Add a section to site health with the plugin’s info.
2.0.0
- Add support for the new Hestia API, released in 1.6.0.
- Add settings link in the plugins list.
- Remove jQuery usage in the admin JS.
- Remove support for the legacy API, as it was quite unsecure for many reasons.
1.2.2
1.2.1
- Fix error notice not appearing when the cache failed to clear.
1.2.0
- Fix the admin bar button not working.
- Fix the notice not appearing.
1.1.0
- Changed the way purges are done, so that they are done only once per post instead of 10+ times.
- Hide password in frontend.
1.0.0