CompressX Documentation

Everything you need to install, configure, and get the best performance from CompressX Free and Pro.

CompressX Docs
Document Notice

Help Improve the Documentation

If you notice something unclear, outdated, or incorrect, feel free to let us know.

Your feedback helps keep the documentation accurate and useful for everyone.

BunnyCDN

Jan 1, 2026 | Docs

CompressX Pro works natively with Bunny CDN to deliver optimized WebP and AVIF images. This integration ensures peak performance and visual consistency across all browsers. This article explains how to connect Bunny CDN with CompressX Pro to ensure optimized images are delivered efficiently, with automatic cache purging after image optimization and conversion.

How to Configure Bunny CDN in CompressX Pro

Prerequisites

Before you begin, make sure that:

  • 1. CompressX Pro is installed and activated.
  • 2. You have an active Bunny.net (Bunny CDN) account.
  • 3. A Pull Zone is already created in your Bunny CDN dashboard.
  • 4. You have your Access Key and Pull Zone ID.

Step 1: Open CDN Support Settings

  • 1. Log in to your WordPress Admin Dashboard.
  • 2. Navigate to CompressX → CDN Support.
  • 3. Locate the CDN Provider section.

CDN Support

Step 2: Select Bunny CDN as the Provider

  • 1. In the CDN Provider dropdown, select Bunny CDN.
  • 2. The Bunny CDN Integration section will appear automatically.

CDN provider

Step 3: Enter Bunny CDN Credentials

In the Bunny CDN Integration section, provide the following information:
Access Key

  • 1. Your Bunny CDN account’s API key. You can find it in your Bunny CDN dashboard > Account Settings > API.
  • 2. Enter your Bunny CDN API Access Key.
  • 3. This key allows CompressX to communicate with Bunny CDN securely.

Pull Zone ID

  • 1. The unique ID of the pull zone you want to purge. You can find it in your Bunny CDN dashboard > Pull Zones > Choose your specific zone > General.
  • 2. Enter the Pull Zone ID for the website you want to connect.
  • 3. The Pull Zone ID identifies which CDN zone CompressX should purge when images are updated.

Bunny CDN integration

Step 4: Configure Cache Management Features

Under the Features section, configure how CompressX manages Bunny CDN cache.
Enable Vary for Images

  • 1. Ensures correct delivery of image variants (JPEG, WebP, AVIF) across different browsers.
  • 2. Enable this option only if your Bunny CDN configuration supports image variation.

Purge cache automatically after bulk image optimization

  • 1. Automatically clears Bunny CDN cache after bulk image optimization tasks.
  • 2. Recommended to ensure optimized images are served immediately.

Purge cache automatically after manual image conversions (5 min delay)

  • 1. Automatically purges cache after manual image conversions.
  • 2. Includes a 5-minute delay to prevent excessive purge requests.

Manual Cache Purge

  • 1. Click Purge All Bunny CDN Cache Manually to clear the entire cache for the configured Pull Zone.
  • 2. Useful when images do not update immediately on the front-end.

Features

Notes
1. Cache purge operations affect the entire Pull Zone.
2. Frequent purging may impact CDN performance temporarily.
3. CompressX only purges cache when image changes are detected.

Step 5: Save Changes

  • 1. Click Save Changes at the bottom of the page.
  • 2. The Bunny CDN integration will take effect immediately.
Recommendations
1. Keep your Access Key secure and never share it publicly.
2. Enable automatic cache purge to avoid serving outdated images.
3. Use manual purge if images appear stale after configuration changes.
4. Limit CDN access permissions to trusted administrators.