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.

Source Distribution

wagtail-cloudfront-invalidate-1.1.0.tar.gz (2.5 kB view details)

Uploaded Source

File details

Details for the file wagtail-cloudfront-invalidate-1.1.0.tar.gz.

File metadata

File hashes

Hashes for wagtail-cloudfront-invalidate-1.1.0.tar.gz
Algorithm Hash digest
SHA256 e42b14203abce4df723658c58872d75865e92d3fd35cc2ca5fac822f0134785f
MD5 bb815d3e01633c4ed568b3098fdf9590
BLAKE2b-256 1bfc761304e4014bbfede7569e729e1cc6886c192c520bfc80f6d272f6552ed3

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page