Cache Purger for BunnyCDN

Description

Cache Purger for BunnyCDN is a powerful and flexible plugin that automatically purges BunnyCDN cache whenever you publish or update posts/pages in WordPress. This ensures that your visitors always get the most up-to-date content.

In version 2.0, the plugin now supports cache purging for additional popular caching plugins including LiteSpeed Cache, WP Fastest Cache, WP-Optimize, Cache Enabler, Breeze, and Hummingbird – alongside the previously supported WP Rocket, WP Super Cache, and W3 Total Cache.

Developed to address persistent caching issues when using BunnyCDN and Bunny DNS Accelerator, this plugin ensures both your local and CDN caches stay in sync for optimal performance and content freshness.

Key Features:
– Automatically purges BunnyCDN cache for individual URLs whenever content is published or updated.
– Integrates with major WordPress caching plugins:
– WP Rocket
– WP Super Cache
– W3 Total Cache
– LiteSpeed Cache
– WP Fastest Cache
– WP-Optimize
– Cache Enabler
– Breeze
– Hummingbird Cache
– Logs all purge requests and responses for easy monitoring.
– Supports wildcard purging for broad cache invalidation.
– Asynchronous cache purging via WP-Cron for optimized performance.

Why Use Cache Purger for BunnyCDN?
This plugin is ideal for sites using BunnyCDN to accelerate global content delivery. By purging both CDN and local caches when content updates, your users always receive the freshest possible version of your site.

External Services

This plugin connects to an external API to manage cache purging for updated pages, ensuring that users always see the latest content. Each time a page is updated, the plugin sends the page URL to the Bunny.net API at https://api.bunny.net/purge to clear the cache.

For more information, please refer to Bunny.net’s Terms of Use and Privacy Policy.

License

This plugin is licensed under the GPLv2 or later. For more information, see https://www.gnu.org/licenses/gpl-2.0.html.

Installation

  1. Upload the bunnycdn-cache-purger-pro folder to the /wp-content/plugins/ directory.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
  3. Go to Settings > BunnyCDN Cache Purger to configure your API key and other settings.

FAQ

How do I get a BunnyCDN API key?

You can generate a BunnyCDN API key from the BunnyCDN Dashboard under the “API” section. Use this key in the plugin settings.

Can I use this plugin without WP Rocket, WP Super Cache, or W3 Total Cache?

Yes! The plugin will purge BunnyCDN cache regardless of whether you’re using additional caching plugins. However, if any of the supported caching plugins are active, their caches will be purged first for consistency.

How does wildcard purging work?

Wildcard purging allows you to invalidate a group of URLs at once. For example, purging https://example.com/category/* will purge all cached pages under that category. You can set up wildcard URLs in the plugin code if needed.

Reviews

3 лютага, 2025
does not work at all. Gives error message when updating a page, it just achieves nothing. Lots of people have posted the same bugs they get… I hoped that finally a working plugin would be there … Maybe it gets debugged ? Then we can all give 5 stars
Read all 1 review

Contributors & Developers

“Cache Purger for BunnyCDN” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

2.0

  • Fixed “Always Purge” input not working as expected.
  • Added support for purging cache from additional caching plugins:
    • LiteSpeed Cache
    • WP Fastest Cache
    • WP-Optimize
    • Cache Enabler
    • Breeze
    • Hummingbird Cache

1.4

  • Added log requests

1.3

  • Added option to select zones
  • Fixed Always Purge saved option

1.2

  • Optimized the code

1.1

  • Added Logo

1.0

  • Initial release.
  • Added BunnyCDN cache purging for individual URLs.
  • Integrated with WP Rocket, WP Super Cache, and W3 Total Cache.
  • Implemented logging for purge requests and responses.