-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Server switch to the new codebase #108
Comments
HTTPS is quite important. But we can add it shortly after, yes? |
@nathany I never set up anything special for b.adge.me, and HTTPS seems to work (Heroku magic?), so I assume that it probably will work the same, but I remember reading an issue about DNS-wise HTTPS issues. |
Yes, it is used for caching. We cache two things:
Okay. Are we giving up caching altogether? Or are we doing that in-memory now? Or ... ? |
@whit537 Caching happens in-memory. I do cache PNG generation; however, I don't cache HTTP calls to vendors, because they're meant to be live. However, that is both an easy fix and something I don't have a strong opinion for. How long did you keep that cache? How big did that cache end up being? |
We decided at #52 (comment) to keep the API server separate from the marketing/admin site.
I think it'd be fine for now to swap out the existing homepage with the existing gh-badges homepage. |
From the current implementation:
The TRANSFORM_TIMEOUT is currently set to 60 seconds, so for active projects the cache approaches 60 seconds.
Well, we're on the free plan, which is 5MB, and we're using 4.78 MB at the moment. |
Here's a comparison of img.shields.io-old and gh-badges for the Gittip vendor (the only one in common with a heavy HTTP call):
|
Worked through merging the two existing APIs (#100) in IRC. Plan is for @espadrine to wrap up that work and publish gh-badges on http://img.shields.io/. Then we'll replace the http://shields.io/ page with the homepage from gh-badges, and then bring back the redirect from img.shields.io to shields.io. Sounds like @espadrine is planning to bring back vendor caching as well. |
Done. |
✨ |
|
👍 |
Reticketed homepage dance as #110. |
A switch of the image server at
img.shields.io
to the gh-badges codebase is scheduled somewhere during January 23.This issue is meant to detail and argue with the finer details of this switch.
The new codebase uses a very similar design, also Heroku-based. The switch will only require to
git push -f
to the Heroku repository.b.adge.me
could be used there, for its functional aspects, although a better design (and, obviously, a different logo!) would be welcome.b.adge.me
will be left with the current version , until they will be redirected. For that purpose, I will set up a separate branch calledbadgeme
.The text was updated successfully, but these errors were encountered: