https://github.com/frc/wp-amazon-c3-cloudfront-clear-cache
https://github.com/frc/wp-amazon-c3-cloudfront-clear-cache
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/frc/wp-amazon-c3-cloudfront-clear-cache
- Owner: frc
- Created: 2017-01-24T20:32:02.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2022-07-06T13:32:57.000Z (almost 4 years ago)
- Last Synced: 2025-03-27T15:02:42.744Z (about 1 year ago)
- Language: PHP
- Size: 78.1 KB
- Stars: 0
- Watchers: 10
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# C3 Cloudfront Cache Controller
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