Skip to main content
Agency Program Get 2× more leads and save 50% on hosting. Built for agencies ready to grow. Book a call
Proxy Cache Purge icon

Proxy Cache Purge

v5.2.2
by Danila Vershinin · 4.4 (24 reviews)

Automatically empty proxy cached content when your site is modified.

40K+ active installs Updated Nov 13, 2024 Tested to 6.7.2 Requires PHP 5.6
Try Demo Download
Pre-installed Ready in ~10s No card
Proxy Cache Purge

About Proxy Cache Purge

The Proxy Cache Purge plugin is not actively maintained and is looking for someone to take over development. This plugin does not install or configure a cache proxy, but acts as an interface with services like Varnish and Nginx. It sends a request to delete the cached data of a page or post whenever it is modified. The plugin also provides commands for purging the cache and debugging cache issues.

Screenshots

Proxy Cache Purge screenshot
Proxy Cache Purge screenshot
Proxy Cache Purge screenshot
Proxy Cache Purge screenshot
Proxy Cache Purge screenshot
Proxy Cache Purge screenshot
Proxy Cache Purge screenshot

Frequently asked questions

What is the Proxy Cache Purge plugin?
The Proxy Cache Purge plugin acts as an interface with reverse proxy caching services such as Varnish and Nginx. It sends a request to delete the cached data of a page or post every time it's modified.
When does the plugin purge the cache?
The plugin purges the cache for the front page, the edited post or page, any associated categories, tags, and custom taxonomies, related feeds, and associated JSON API pages. Additionally, the entire cache is deleted when changing themes or pressing the 'Empty Cache' button on the toolbar.
How can I turn off caching temporarily?
To turn off caching temporarily, you can either add 'define( 'VHP_DEVMODE', true );' to your wp-config.php file or enable debug mode in the Proxy Cache settings for 24 hours at a time. However, this is not recommended for production.
What WP CLI commands are available for the plugin?
The plugin provides 'purge' commands to empty the cache, including 'wp varnish purge' to flush the cache for the front page and 'wp varnish purge [<url>]' to flush the cache for a specific URL. The 'debug' command can be used to troubleshoot cache issues, and the 'devmode' command allows you to change the development mode state.
Does the plugin collect any remote data?
No, as of version 5, the plugin no longer uses any remote data.

Changelog

5.2.2

  • August 2024
  • Fix undefined variable $rest_api_route

5.2.1

  • January 2024
  • Allow custom X-Varnish header name.

5.2.0

  • July 2023
  • Fix debug for if Via headers are an array (props @iverok)

Try other plugins

Yoast SEO icon

Yoast SEO

4.8 · 10M+ installs

Improve your WordPress SEO: Write better content and have a fully optimized WordPress site using the Yoast SEO…

LiteSpeed Cache icon

LiteSpeed Cache

4.8 · 7M+ installs

All-in-one unbeatable acceleration & PageSpeed improvement: caching, image/CSS/JS optimization...

WooCommerce icon

WooCommerce

4.5 · 7M+ installs

Everything you need to launch an online store in days and keep it growing for years. From your…