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

Automatically flush Cloudflare caches #37

Open
dfabulich opened this issue Dec 27, 2023 · 0 comments
Open

Automatically flush Cloudflare caches #37

dfabulich opened this issue Dec 27, 2023 · 0 comments

Comments

@dfabulich
Copy link
Contributor

dfabulich commented Dec 27, 2023

The button exists now. I didn't wind up automating the process because it's a nuisance for zip files:

  • Replace the file
  • Clear the cache for the zip file
  • Rebuild Master-Index
  • Wait five minutes for Unbox to notice the new Master-Index
  • Recheck Unbox

If you check Unbox too soon, it may still have the old zip; then you'd have to clear the cache again.

Originally posted by @erkyrath in #34 (comment)

I think we can do better than this. I filed a PR iftechfoundation/ifarchive-unbox#48 for Unbox to allow forcing it to refresh its cache of the master index. If we were to merge that PR, we could have "rebuild master-index" automatically refresh unbox's cache, and then replacing the zip file could do all of those steps automatically.

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

No branches or pull requests

1 participant