Automatically purge Varnish Cache when content on your site is modified.
Varnish HTTP Purge sends a PURGE request to the URL of a page or post every time it it modified. This occurs when editing, publishing, commenting or deleting an item, and when changing themes.
Varnish is a web application accelerator also known as a caching HTTP reverse proxy. You install it in front of any server that speaks HTTP and configure it to cache the contents. This plugin does not install Varnish for you, nor does it configure Varnish for WordPress. It's expected you already did that on your own.
Not all pages are purged every time, depending on your Varnish configuration. When a post, page, or custom post type is edited, or a new comment is added, only the following pages will purge:
In addition, your entire cache will be purged on the following actions:
Plugins can hook into the purge actions as well, to filter their own events to trigger a purge.
And if you're into WP-CLI, you can use that too:
wp varnish purge
Please note: On a multisite network using subfolders, only network admins can purge the main site.
Requires: 4.0 or higher
Compatible up to: 4.7.1
Last Updated: 2 months ago
Active Installs: 40,000+
1 of 3 support threads in the last two months have been marked resolved.
Got something to say? Need help?