Skip to content

C3 CloudFront Cache ControllerWordPress Plugin

Efficiently manage CloudFront cache invalidation for your WordPress site

C3 CloudFront Cache Controller

Quick Start ​

Install the plugin and configure your AWS CloudFront settings:

Installation ​

bash
# Using WP-CLI (recommended)
wp plugin install c3-cloudfront-clear-cache --activate

# Or install via WordPress Admin: Plugins > Add New > Search "C3 CloudFront Clear Cache"

Configuration ​

After installation, configure the plugin through the WordPress admin:

  1. Go to Settings > C3 CloudFront Cache
  2. Enter your CloudFront Distribution ID
  3. Enter your AWS Access Key and Secret Key
  4. Click Save Changes

Alternatively, you can define constants in wp-config.php for enhanced security:

php
// Add to wp-config.php
define( 'AWS_ACCESS_KEY_ID', 'your_access_key' );
define( 'AWS_SECRET_ACCESS_KEY', 'your_secret_key' );
define( 'C3_DISTRIBUTION_ID', 'your_distribution_id' );

Why C3 CloudFront Cache Controller? ​

When running WordPress behind AWS CloudFront, you need a reliable way to invalidate cached content when your site updates. This plugin provides:

  • Automatic cache invalidation when content changes
  • Batch processing for efficient CloudFront API usage
  • Custom invalidation paths through powerful filters
  • Production-ready with comprehensive error handling

WordPress.org Plugin ​

WordPress Plugin DownloadsWordPress Plugin VersionWordPress Plugin Rating

The plugin is available on the WordPress Plugin Directory.

Community ​

Released under the GPL License.