WP Manifestindependent plugin directory
manifest / media / wp-bunnycdn-offloader

Bloom BunnyCDN Offloader

Simple BunnyCDN offloader for WordPress

★ 0stars
27composer installs

Install

Download source zip No release zip yet

This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/bloom-ux/wp-bunnycdn-offloader/archive/refs/heads/main.zip

On Packagist as bloom-ux/bunnycdn-offloader:

composer require bloom-ux/bunnycdn-offloader
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

CDN Offloader

A simple plugin to upload and serve your attachment files from Bunny CDN.

Installation

Install with composer: composer require bloom-ux/wp-bunnycdn-offloader

Configuration

Define the following environment variables:

# The secret API key used as password to upload files to your storage
BLOOM_BUNNY_STORAGE_API_KEY=""

# The storage zone name
BLOOM_BUNNY_STORAGE_ZONE=""

# Two-letter code of the storage region (ie: "br")
BLOOM_BUNNY_STORAGE_REGION=""

# Full URL to your assets (it can include a folder). ie: "https://my-storage.b-cdn.net/subfolder/"
BLOOM_BUNNY_PUBLIC_URL=""

Disable uploads to Bunny

To disable uploads to Bunny (useful in development environments or during imports), define the constant BLOOM_BUNNY_OFFLOADER_DISABLE as true in wp-config.php:

define( 'BLOOM_BUNNY_OFFLOADER_DISABLE', true );

Or use the environment variable in your .env file:

BLOOM_BUNNY_OFFLOADER_DISABLE=true

When this option is active, the plugin will not register hooks or WP-CLI commands, so files will not be uploaded to Bunny CDN and will be served from the local server.