A wagtail hook to invalidate AWS's CloudFront cache when a page is updated
Project description
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
File details
Details for the file wagtail-cloudfront-invalidate-1.1.0.tar.gz
.
File metadata
- Download URL: wagtail-cloudfront-invalidate-1.1.0.tar.gz
- Upload date:
- Size: 2.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: Python-urllib/2.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e42b14203abce4df723658c58872d75865e92d3fd35cc2ca5fac822f0134785f |
|
MD5 | bb815d3e01633c4ed568b3098fdf9590 |
|
BLAKE2b-256 | 1bfc761304e4014bbfede7569e729e1cc6886c192c520bfc80f6d272f6552ed3 |