

Overview: status, one-click clear and recent activity
ByteCoreStack – Lightsail CDN Cache Manager is the WordPress plugin built around one job — AWS Lightsail cache clear, done right. If your site, blog, or WooCommerce store runs behind an Amazon Lightsail content delivery network (CDN) distribution, this plugin puts you in full control of that cache directly from wp-admin: a one-click manual cache purge, an automatic cache clear the moment you publish or update content, or a scheduled cache invalidation on a recurring timer — all without ever opening the AWS console.
Search terms like “clear Lightsail cache,” “AWS Lightsail CDN plugin,” “Lightsail cache purge WordPress,” and “Amazon Lightsail cache invalidation” all describe exactly what this plugin does. It’s the missing piece between WordPress and the ResetDistributionCache action on your Lightsail distribution — a dedicated cache management plugin for Lightsail, not a generic multi-CDN tool with Lightsail bolted on as an afterthought.
Use it to manually purge your Lightsail CDN cache with one click, fire an automatic cache clear the instant you publish or update content, or set a scheduled cache clear so your cache invalidates itself on its own — hourly, daily, weekly, monthly, or at custom intervals.
If you’ve wished WordPress cache management for Lightsail was as simple as clicking a button, this is it:
Manual Cache Clearing
* Run a Lightsail cache clear in seconds, right from WordPress admin
* Instant feedback on cache clearing status
* Perfect for when you need immediate control
Automatic Cache Clearing
* Automatically clear CDN cache when content is published, updated, or unpublished
* Also triggers on attachment deletion, taxonomy term edits, nav menu changes, and widget changes
* Select which post types trigger cache clearing, with support for custom post types
* Rapid successive changes are batched into a single deferred clear (fired ~60 seconds later via WP-Cron) instead of one AWS call per save
* Note: Lightsail’s ResetDistributionCache API always resets the entire distribution — there is no per-page/per-path purge
Activity Log
* A local history of every cache clear — manual, automatic, scheduled, and WP-CLI — with timestamp, status, and who/what triggered it
* Stored in your own WordPress database (Lightsail has no live invalidation-history API to pull from, unlike CloudFront)
* Paginated table, kept for 90 days and pruned automatically after that — nothing to manage by hand
WP-CLI Support
* Trigger a cache clear from the command line or a CI/CD deploy pipeline: wp bcs-lsm flush
* Every CLI-triggered clear is recorded in the Activity Log
Scheduled Cache Clearing
* Pick Every hour, Every 6 hours, Every day or Every week
* Choose the time (and weekday) for daily and weekly clears
* Schedules created by earlier versions (5-minute intervals, monthly, several weekdays) keep running and are shown as “Keep: …”
* Shows the next scheduled clear on the Overview
* Uses your WordPress timezone settings
Test Connection
* One-click AWS connection test before you rely on it
* Verifies your access key, secret key, and Lightsail distribution name
* Calls the read-only Lightsail API — never touches your cache
* Clear, specific error messages when something’s misconfigured
Simple Setup
* Three tabs: Overview, Settings and Activity
* Enter your keys on the Settings tab, or use wp-config.php constants (they override the saved values)
* “Save & test connection” confirms everything works before you rely on it
* Secure AWS Signature Version 4 authentication
Monthly Report
* Optional email on the 1st of each month summarising the month before: total clears, successes, failures, and which triggered them
* Send it to several addresses, entered as pills, each checked as you type
* Send last month’s report on demand any time, without waiting for the 1st
Site Health
* Adds a status check to Tools Site Health Status, so a broken connection or a failing clear is visible even to admins who never open the plugin
* Adds a read-only summary to the Info tab for troubleshooting and support
Full setup instructions and documentation available at https://bytecorestack.com/plugins/lightsail-manager
This plugin connects to the AWS Lightsail API to perform CDN cache invalidation operations.
AWS Lightsail API
This plugin sends requests to the AWS Lightsail REST API endpoint:
https://lightsail.{region}.amazonaws.com/
What data is sent:
When data is sent:
wp bcs-lsm flushNo personal data, user data, or site content is transmitted to AWS beyond the distribution name and the cache-clear command.
AWS Terms of Service: https://aws.amazon.com/service-terms/
AWS Privacy Policy: https://aws.amazon.com/privacy/
For support, feature requests, or bug reports, please visit:
* Plugin page: https://bytecorestack.com/plugins/lightsail-manager
* Author website: https://bytecorestack.com/
This plugin does not collect, store, or transmit any user data. All AWS credentials are stored locally in your wp-config.php file and are only used to communicate with the AWS Lightsail API for cache management operations. See the External Services section above for full details on what is sent to AWS.
Developed by ByteCore Stack.
This plugin is licensed under the GPLv2 or later.