A wagtail hook to invalidate AWS's CloudFront cache when a page is updated
Project description
# wagtail-cloudfront-invalidate
A Wagtail hook to invalidate a path when a page is updated
## Installation:
pip install wagtail-cloudfront-invalidate
## Configuration:
INSTALLED_APPS = [
'wagtail_cloudfront_invalidate'
]
AWS_ACCESS_KEY_ID = '<your access key id>'
AWS_SECRET_ACCESS_KEY = '<your secret key>'
CLOUDFRONT_DISTRIBUTION_ID = '<your distribution id>'
WAGTAIL_CLOUDFRONT_INVALIDATE_ENABLED = True #defaults to False
A Wagtail hook to invalidate a path when a page is updated
## Installation:
pip install wagtail-cloudfront-invalidate
## Configuration:
INSTALLED_APPS = [
'wagtail_cloudfront_invalidate'
]
AWS_ACCESS_KEY_ID = '<your access key id>'
AWS_SECRET_ACCESS_KEY = '<your secret key>'
CLOUDFRONT_DISTRIBUTION_ID = '<your distribution id>'
WAGTAIL_CLOUDFRONT_INVALIDATE_ENABLED = True #defaults to False
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Close
Hashes for wagtail-cloudfront-invalidate-1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4fd53bb3bf8f0ec775d7c17df6789e558bbe73a72dfad7e6c6e681497285456f |
|
MD5 | e60d8f009155d5e9eeca0f2d5715f09d |
|
BLAKE2b-256 | 93192240dc2d700272432bd0b13b9c1d752b4b82d6aa497a4f61dd8fb53c7730 |