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.2.tar.gz
.
File metadata
- Download URL: wagtail-cloudfront-invalidate-1.1.2.tar.gz
- Upload date:
- Size: 2.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: Python-urllib/2.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9d2c4cb5ee356bd545a982001285bf9f8db92c0a360cc8010bbce5d7a934a8e5 |
|
MD5 | 9a1cbd508c9197e7a234dc568d45f556 |
|
BLAKE2b-256 | 9d2d7eb6af3f69e77b144379711b6012c0dfe1e03aa869805bb7cea96d743665 |