-
Notifications
You must be signed in to change notification settings - Fork 41
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
Tools mirror/ caching CDN #972
Comments
Footnotes |
So our goal here is:
If we can achieve this with reasonable cost efficiency, we could then default Containerbase to only use this host instead of the variety we have today. |
Cloudflare's cache reserve is one approach to reducing requests to the origin server(s) and providing more resiliency for those which might have availability problems: https://developers.cloudflare.com/cache/advanced-configuration/cache-reserve/ |
Originally posted by @rarkins in #1507 (comment) |
Update: cdn.containerbase.dev is now ready I would like to make this opt-in via CONTAINERBASE_CDN=https://cdn.containerbase.dev Setting this would result in all known hosts to be redirected without the need for the http from/to being all set individually |
Just to clarify: setting |
I was thinking that it would need to have an explicit list but I suppose you could add a general http rewrite rule? Might break if there's 30x responses though |
This allows to enable the cdn for those managers selectively. - #972
Today's approach has some downsides:
Example of flakiness:
We should aim to have centralization and control of such dependencies where possible or necessary. I can think of two main possibilities:
Obviously either way we still can have flakiness if our host (GitHub or CDN) has flakiness, but at least it's centralized flakiness and likely less than we get today
The text was updated successfully, but these errors were encountered: