Installation #
To install CloudFront invalidation, follow these steps:
- Download & unzip the file and place the
cloudfrontinvalidation
directory into yourcraft/plugins
directory - -OR- do a
git clone https://github.com/sjelfull/cloudfrontinvalidation.git
directly into yourcraft/plugins
folder. You can then update it withgit pull
- Install plugin in the Craft Control Panel under Settings > Plugins
- The plugin folder should be named
cloudfrontinvalidation
for Craft to see it. GitHub recently started appending-master
(the branch name) to the name of the folder for zip file downloads.
CloudFront invalidation works on Craft 2.4.x and Craft 2.5.x, and requires PHP 5.4.* or higher.
Configuring #
The plugin will use the S3 key/secret defined in your Asset Source settings, but you need to provide the CloudFront Distribution ID. You can get it from the AWS Console
Roadmap #
- Add option to invalidate all assets
Releases
- Added: Initial release
Currently available for Craft consulting and custom plugin development
Contact me