Description
Lightsail Manager by ByteCore Stack is a powerful yet user-friendly plugin that gives you complete control over your AWS Lightsail CDN cache directly from your WordPress admin panel. Whether you need to clear your cache immediately, automatically invalidate it when content changes, or schedule regular cache clearing, this plugin has you covered.
Key Features
Manual Cache Clearing
* One-click cache invalidation 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
Easy Configuration
* Simple wp-config.php based credentials
* Clear status indicators
* Helpful configuration examples
* Secure AWS Signature Version 4 authentication
Perfect For
- WordPress sites using AWS Lightsail CDN
- Content publishers who need fresh content delivered fast
- Developers who want automated cache management
- Sites with frequent content updates
- Anyone wanting more control over their CDN
Requirements
- AWS Lightsail distribution with CDN enabled
- AWS Access Key ID and Secret Access Key with Lightsail permissions
- WordPress 5.0 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.
Screenshots




Installation
From WordPress Admin
- Go to Plugins > Add New
- Search for “Lightsail Manager by ByteCore Stack”
- Click “Install Now” and then “Activate”
- Configure your AWS credentials in wp-config.php
- Go to Settings > Lightsail Manager to manage your cache
Manual Installation
- Download the plugin ZIP file
- Upload to /wp-content/plugins/ directory
- Extract the ZIP file
- Activate the plugin through WordPress admin
- Configure AWS credentials (see Configuration section)
Configuration
Add these constants to your wp-config.php file:
define('AWS_ACCESS_KEY_ID', 'your_access_key_here');
define('AWS_SECRET_ACCESS_KEY', 'your_secret_key_here');
define('AWS_DEFAULT_REGION', 'us-east-1');
define('LIGHTSAIL_DISTRIBUTION_NAME', 'your_distribution_name');
Finding Your Distribution Name: 1. Log in to AWS Lightsail console 2. Go to Networking > CDN distributions 3. Find your distribution and copy its name
Creating AWS Credentials: 1. Go to AWS IAM console 2. Create a new user or use existing one 3. Attach Lightsail permissions 4. Generate access keys 5. Add keys to wp-config.php
FAQ
-
What is AWS Lightsail CDN?
-
AWS Lightsail CDN is a content delivery network service from Amazon Web Services that caches your website content at edge locations worldwide, making your site faster for visitors globally.
-
Do I need an AWS account?
-
Yes, you need an AWS account with an active Lightsail distribution and appropriate permissions.
-
How do I get my AWS credentials?
-
You can create AWS credentials (Access Key ID and Secret Access Key) from the AWS IAM console. Make sure the credentials have permissions to manage Lightsail distributions.
-
Is this plugin secure?
-
Yes, the plugin uses AWS Signature Version 4 for secure authentication. Your credentials are stored in wp-config.php (not in the database) and are never exposed in the admin interface.
-
Does this work with CloudFront?
-
This plugin is specifically designed for AWS Lightsail CDN. For CloudFront, you would need a different plugin.
-
Can I schedule cache clears at specific times?
-
Yes! The plugin supports interval, weekly, and monthly scheduling with customizable times. You can choose the exact time and day/date for cache clearing.
-
What happens if cache clearing fails?
-
The plugin will display an error message with details about what went wrong. Common issues include incorrect credentials or distribution name.
-
Will this slow down my site?
-
No, cache clearing operations happen in the background and don’t affect your site’s performance. The plugin only communicates with AWS when you manually clear cache, when content is updated (if auto-clear is enabled), or during scheduled clears.
-
Can I clear cache for specific pages only?
-
Currently, the plugin clears the entire CDN cache. Selective cache clearing may be added in future versions.
-
Does this work with multisite?
-
The plugin is compatible with WordPress multisite installations. Each site can have its own cache clearing schedule.
Reviews
There are no reviews for this plugin.
Contributors & Developers
“Lightsail Manager by ByteCore Stack” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “Lightsail Manager by ByteCore Stack” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
1.0
- Initial release
- Manual cache clearing functionality
- Automatic cache clearing on content updates
- Scheduled cache clearing (interval, weekly, monthly)
- Live countdown timer for scheduled clears
- Support for custom post types
- Local timezone support for scheduled clears
- Comprehensive AWS error reporting
- Clean, modern admin interface
- Full WordPress coding standards compliance
