Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support for invalidating cloudfront assets after an upload #83

Open
palewire opened this issue Apr 29, 2016 · 3 comments
Open

support for invalidating cloudfront assets after an upload #83

palewire opened this issue Apr 29, 2016 · 3 comments
Labels

Comments

@palewire
Copy link
Owner

No description provided.

@robmoorman
Copy link

robmoorman commented May 11, 2017

We used this already in Wagtail: http://docs.wagtail.io/en/v1.10/reference/contrib/frontendcache.html#amazon-cloudfront.
Reference: https://github.com/wagtail/wagtail/blob/01e891d0c458b8eaf46fa7ddf19900bfd12c0a31/wagtail/contrib/wagtailfrontendcache/backends.py#L109

The trickiest part is so support multiple CloudFront distributions depending the url/site.

@palewire
Copy link
Owner Author

thanks for the info.

@chrisspen
Copy link

Couldn't you write a trivial management command to create the invalidation through Boto? Something like this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants