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

Cache buster #33

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

Cache buster #33

wants to merge 4 commits into from

Conversation

MelissaAutumn
Copy link
Member

@MelissaAutumn MelissaAutumn commented Dec 1, 2022

Resolves #21

By default the cache-bust.py script won't actually do the busting. You'll need to pass --bust-cache.

There's also --print-urls in case you're manually running this script, and want to check the urls before the busting begins. (well as long as your also not passing in --bust-cache.)

This script should gracefully exit if an api error occurs. I figure we probably don't want to prevent the website from deploying.

I'm pretty sure the ansible action should work, but I haven't tested a website deploy.

Note: This requires Python 3 due to the git package.

@MelissaAutumn MelissaAutumn requested a review from Sancus December 1, 2022 22:05
@MelissaAutumn MelissaAutumn self-assigned this Dec 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Purge cloudflare cache when updating the website.
1 participant