Skip to main content

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.

Files for wagtail-cloudfront-invalidate, version 1.1.2
Filename, size File type Python version Upload date Hashes
Filename, size wagtail-cloudfront-invalidate-1.1.2.tar.gz (2.6 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page