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. Additionally, this plugin integrates with popular caching plugins like WP Rocket, WP Super Cache, and W3 Total Cache, purging their cache before purging BunnyCDN, giving you a seamless and reliable content delivery experience.
Developed this plugin [Cache Purger for BunnyCDN] after encountering numerous issues with caching while using BunnyCDN and Bunny DNS Accelerator. Feel free to report any issues or suggest new features via the WordPress support forum.
Key Features:
– Automatically purges BunnyCDN cache for individual URLs whenever content is published or update d.
– Integrates with WP Rocket, WP Super Cache, and W3 Total Cache to purge local cache before BunnyCDN 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 perfect for sites using BunnyCDN to deliver content quickly across the globe. By ensuring that both your CDN and local caches are cleared when you update content, you provide your visitors with the freshest content without unnecessary delays.
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. This helps maintain up-to-date content delivery by clearing outdated cached pages across the BunnyCDN network. For more information, please refer to Bunny.net’s terms of use:https://bunny.net/tos/ and privacy policy:”https://bunny.net/privacy/.
License
This plugin is licensed under the GPLv2 or later. For more information, see https://www.gnu.org/licenses/gpl-2.0.html.
Installation
- Upload the
bunnycdn-cache-purger-pro
folder to the/wp-content/plugins/
directory. - Activate the plugin through the ‘Plugins’ menu in WordPress.
- 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! This plugin will purge BunnyCDN cache even if you are not using any of these caching plugins. However, if you are using one of them, the plugin will automatically purge their cache first before purging BunnyCDN.
-
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
There are no reviews for this plugin.
Contributors & Developers
“Cache Purger for BunnyCDN” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “Cache Purger for BunnyCDN” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
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.
1.1
- Optimize code for bunny cdn
- Add Settings link