Lightsail CDN Cache Manager
Lightsail CDN Cache Manager is a focused WordPress cache manager built around one job — Lightsail cache clear, done right. If your site runs behind an Amazon Lightsail content delivery network (CDN) distribution, this plugin puts you in full control of that cache: a manual clear, an auto cache clear the moment you publish, or a scheduled cache clear on a recurring timer — all from your WordPress admin, no AWS console required.
Use it to manually purge your Lightsail CDN cache with one click, fire an auto cache clear the instant you publish or update content, or set a scheduled cache clear so your cache invalidates itself on its own — daily, weekly, monthly, or at custom intervals.
Why Use This Plugin?
If you’ve wished WordPress cache management for Lightsail was as simple as clicking a button, this is it:
- Built specifically for Amazon Lightsail — not a generic CDN plugin awkwardly bolted on; it speaks the Lightsail API directly using AWS Signature Version 4.
- No stale content after publishing — auto-clear on publish/update means visitors never see outdated cached pages.
- Set-and-forget scheduling — interval, weekly, or monthly cache clears with a live countdown so you always know when the next clear runs.
- Credentials never touch the database — AWS keys live in wp-config.php only, never exposed in the admin UI or REST API.
- One-click connection test — verify your AWS Lightsail credentials and distribution name are correct before you ever rely on it.
Key Features
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 or updated * Select which post types trigger cache clearing * Support for custom post types * Immediate content updates across your CDN
Scheduled Cache Clearing * Set up recurring cache clears on your schedule * Interval, weekly, or monthly options * Choose specific times and days * Live countdown timer showing next scheduled clear * 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
Easy Configuration * Simple wp-config.php based credentials * Clear status indicators * Helpful configuration examples * Secure AWS Signature Version 4 authentication
Perfect For
- WordPress sites and blogs hosted behind an Amazon Lightsail CDN distribution
- Agencies and freelancers managing multiple client sites on AWS Lightsail
- Publishers and news sites that need fresh content delivered fast after every update
- Developers who want automated, hands-off Lightsail cache invalidation
- WooCommerce and membership sites with frequently changing content
- Anyone replacing manual AWS console cache purges with a WordPress-native workflow
Requirements
- An AWS account with an active Amazon Lightsail content delivery network (CDN) distribution
- AWS Access Key ID and Secret Access Key with Lightsail permissions
- WordPress 5.3 or higher
- PHP 7.2 or higher
Documentation
Full setup instructions and documentation available at https://bytecorestack.com/plugins/lightsail-manager
External Services
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:
- Your Lightsail distribution name (stored locally in wp-config.php)
- A cache reset request signed with your AWS credentials using AWS Signature Version 4
When data is sent:
- When you manually click “Clear CDN Cache Now”
- When a post/page is published or updated (if Auto-Clear is enabled)
- On a recurring schedule (if Scheduled Auto-Clear is enabled)
No 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/
Support
For support, feature requests, or bug reports, please visit: * Plugin page: https://bytecorestack.com/plugins/lightsail-manager * Author website: https://bytecorestack.com/
Privacy Policy
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.
Credits
Developed by ByteCore Stack.
License
This plugin is licensed under the GPLv2 or later.
