frc / wp-amazon-c3-cloudfront-clear-cache
This is simple plugin that clear all cloudfront cache if you publish posts.
Installs: 14 618
Dependents: 1
Suggesters: 0
Security: 0
Stars: 0
Watchers: 11
Forks: 2
Open Issues: 1
Type:wordpress-plugin
Requires
- aws/aws-sdk-php: ^3.199
This package is auto-updated.
Last update: 2024-11-06 18:43:52 UTC
README
Cloudfront cache management based on C3 Cloudfront Cache Controller by AMIMOTO and WP Offload S3 Lite by Delicious Brains
set define('DISTRIBUTION_ID', 'XXXX')
in wp-config.php
Otherwise install just like any other plugin
Multiple distributions
If the site is a multisite or has language version-specific domains, you most likely have a distribution for each of them. To define multiple distros, use the format DISTRIBUTION_ID_[blog id]_[language slug]
e.g.
DISTRIBUTION_ID_1_EN
= multisite, main blog selected, english language
DISTRIBUTION_ID_EN
= no multisite, english language
DISTRIBUTION_ID_1
= multisite, main blog selected, no language-specific domain