WordPress plugin intelligence profile

ByteCoreStack – Cache Invalidation for Amazon CloudFront

CloudFront cache invalidation for WordPress — manual, automatic, and scheduled CDN cache clearing for your AWS CloudFront distribution.

WP PlugIndex snapshot

Current directory snapshot

Tested up to WordPress 7.0
Current version1.0.0
WordPress coverageTested up to WordPress 7.0
Minimum stackWP 5.3 · PHP 7.4
Directory statusactive
Last directory update18 Aug 20262mo ago
Active installationsNewAdoption metric — not a quality score
WordPress.org ratingNo WordPress.org ratings yet
Official packageDirect from WordPress.org

Repository metrics are context, not quality scores. Active installations measure adoption and can strongly reflect a plugin’s age and historical popularity. Ratings, recent updates and “Tested up to” metadata also do not guarantee modern code, error-free operation, security, feature completeness or suitability for a particular site. Why active installs don’t tell the whole story →

WP PlugIndex currently records ByteCoreStack – Cache Invalidation for Amazon CloudFront version 1.0.0 as active, updated 2mo ago and tested up to WordPress 7.0.

Overview

About this plugin

ByteCoreStack – Cache Invalidation for Amazon CloudFront is a dedicated CloudFront cache invalidation plugin for WordPress, built around one job and doing it well: keeping your Amazon CloudFront CDN cache in sync with your content.

If your site runs behind a CloudFront distribution, this plugin gives you complete control over cache invalidation — a one-click manual purge, automatic CloudFront cache clearing the moment content changes, or a recurring scheduled cache clear — all from your WordPress admin, with no AWS Console visits required.

This plugin speaks the CloudFront REST API directly using AWS Signature Version 4 request signing, and is purpose-built around how CloudFront invalidations actually work: targeted path invalidation instead of blanket wipes, batching to protect your invalidation quota, and a live invalidation history pulled straight from the CloudFront API.

Features

  • Built specifically for Amazon CloudFront — it signs and sends real CloudFront CreateInvalidation, GetDistribution, ListInvalidations, and GetInvalidation API requests directly.
  • Smart, targeted CloudFront cache invalidation — auto-clear invalidates the specific permalink, term archives, post-type archive, and homepage affected by a change, instead of always purging the entire distribution.
  • No stale content after publishing — automatic cache invalidation on publish, update, unpublish, trash, term edits, menu changes, widget changes, and attachment deletion means visitors don’t keep seeing outdated cached pages.
  • Set-and-forget scheduled cache clearing — interval, weekly, or monthly CloudFront cache clears with a live countdown, so you always know when the next invalidation runs.
  • Invalidation batching — rapid successive content changes are merged into a single deferred invalidation instead of firing one CloudFront API call per save, protecting your monthly invalidation quota.
  • Live Invalidation History — a dedicated tab lists your recent CloudFront invalidations straight from the AWS API, with per-invalidation path details, pagination, and a “show per page” control. Nothing is cached or stored locally.
  • Credentials never touch the database — your AWS access key and secret live in wp-config.php only, never stored in wp_options, never exposed in the admin UI, REST API, or AJAX responses.
  • IAM instance-role support — running on an EC2 instance with an IAM role attached? Skip static AWS keys entirely; the plugin automatically fetches temporary credentials from the EC2 instance metadata service.
  • One-click connection and permission diagnostics — “Test Connection” verifies your credentials and distribution ID instantly, and “Check Permissions” tests each required IAM action individually so a misconfigured policy is diagnosable at a glance instead of guessing which permission is missing.
  • WP-CLI support — script CloudFront cache purges from the command line for CI/CD deploy pipelines: wp bcs-cfm flush all or wp bcs-cfm flush <path>.

Key Features

Manual CloudFront Cache Clearing

* Purge your entire CloudFront distribution in one click

* Purge a single specific URL or path without touching the rest of the cache

* Per-user rate limiting prevents accidental repeated clicks from burning through your AWS invalidation quota

* Instant success/failure feedback with clear, actionable AWS error messages

Automatic CloudFront Cache Invalidation

* Fires on publish, update, unpublish/trash, and permanent post deletion

* Targets the exact permalink, taxonomy term archives, post-type archive, and homepage affected — not a blanket /* wipe

* Falls back to a full distribution invalidation only when a single change touches more than 10 paths

* Also triggers on attachment/media deletion, taxonomy term edits, nav menu changes, and active widget changes

) trigger auto-clear

* Rapid successive changes are automatically batched into a single deferred invalidation via WP-Cron

Scheduled CloudFront Cache Clearing

* Interval-based (every 5 minutes up to every 24 hours), weekly, or monthly scheduling

* Choose the exact time, day of week, or day(s) of month

* Live countdown timer to the next scheduled cache clear

* Fully timezone-aware, using your WordPress site’s configured timezone

Invalidation History

* Lists your most recent CloudFront invalidations, fetched live from the AWS API — nothing is stored in your database

* Expand any invalidation inline to see its full path list and status

* Built-in pagination with a configurable “show per page” control

AWS Connection & Permission Tools

* “Test Connection” — verifies your access key, secret key, and distribution ID against the live CloudFront API

* “Check Permissions” — tests GetDistribution, ListInvalidations, and GetInvalidation individually and reports exactly which IAM action is missing

* Actionable, specific error messages for common misconfigurations (wrong distribution ID, bad signature/credentials, insufficient IAM permissions)

Flexible, Secure Configuration

php constants — never written to the database

* Optional IAM instance-role credential fallback for EC2-hosted sites, no static keys required

* A WordPress Dashboard widget summarizing AWS status, Auto-Clear/Schedule state, next scheduled run, and last cleared time

* WP-CLI command for scripted/CI-driven cache purges

Perfect For

  • WordPress sites, blogs, and publishers hosted behind an Amazon CloudFront CDN distribution
  • Agencies and freelance developers managing CloudFront cache invalidation across multiple client sites
  • News and publishing sites that need fresh content delivered fast after every update
  • WooCommerce stores and membership sites with frequently changing content, stock, or pricing
  • Developers who want automated, hands-off CloudFront cache invalidation instead of manual AWS Console purges
  • Teams who want CI/CD pipelines to trigger a CloudFront cache purge on deploy via WP-CLI

Requirements

  • An AWS account with an active Amazon CloudFront distribution
  • AWS Access Key ID and Secret Access Key with CloudFront permissions (or an EC2 instance with an IAM role attached)
  • WordPress 5.3 or higher
  • PHP 7.4 or higher

Documentation

com/plugins/cloudfront-manager

External Services

This plugin connects to the AWS CloudFront API to perform CDN cache management operations, and — only as a fallback described below — to the EC2 instance metadata service.

AWS CloudFront API

This plugin sends requests to the AWS CloudFront REST API endpoint:

com/2020-05-31/distribution/{distributionId}/...

covering invalidation creation, invalidation listing/detail lookups, and distribution status checks.

What data is sent:

  • Your CloudFront distribution id (stored locally in wp-config.php)
  • A request signed with your AWS credentials using AWS Signature Version 4 — no personal data, user data, or site content is transmitted beyond the distribution id and the invalidation paths

When data is sent:

  • When you manually click “Purge Entire Distribution” or “Purge a Specific URL”
  • When a post/page is published, updated, unpublished, or deleted; when a term is edited; or when a nav menu or the active widgets change (if Auto-Clear is enabled)
  • On a recurring schedule (if Scheduled Auto-Clear is enabled)
  • When you click “Test Connection” or “Check Permissions”, or open the Invalidation History tab

AWS EC2 Instance Metadata Service (conditional fallback)

254 (the standard EC2 instance metadata endpoint, only reachable from within an EC2 instance) to retrieve temporary credentials from an attached IAM role. No data leaves your own EC2 instance for this request. If static credentials are configured, this request is never made.

com/service-terms/

com/privacy/

Support

For support, feature requests, or bug reports, please visit:

com/plugins/cloudfront-manager

com/

Privacy Policy

This plugin does not collect, store, or transmit any user data. php file and are only used to communicate with the AWS CloudFront API for cache management operations. See the External Services section above for full details on what is sent to AWS.

Credits

Developed by ByteCore Stack.

1 (GPL-compatible).

License

This plugin is licensed under the GPLv2 or later.

WordPress.org metadata

Plugin tags

Topics listed for this plugin in the WordPress.org directory.

  • aws cloudfront
  • cache invalidation
  • cache manager
  • cdn cache
Compatibility & maintenance

Compatibility & maintenance

Tested up to WordPress 7.0

Not yet marked as tested with WordPress 7.1. WordPress.org currently lists Tested up to 7.0.

Current WordPress releaseWordPress 7.1
WordPress.org Tested up to7.0
Minimum requirementsWordPress 5.3 · PHP 7.4
Update activity18 Aug 20262mo ago

“Tested up to” is directory metadata supplied by the plugin author. WP PlugIndex does not turn an older declaration into a claim that the plugin is incompatible.

Changes recorded by WP PlugIndex

Recent tracked changes

No tracked version or compatibility changes have been recorded by WP PlugIndex yet.

Tracking & source

WP PlugIndex tracks public WordPress.org directory metadata and records selected version, compatibility and availability changes as they are detected.

Plugin watchlist

Watch this plugin

Sign in to your WP PlugIndex account or create a free account. Free accounts can watch up to 5 plugins and see what changed.

Watch limit

Watchlist limit reached

You have reached your current active watch limit.