-
Notifications
You must be signed in to change notification settings - Fork 51
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
Store the GitHub profile images #330
Comments
I feel like this is kind of overkill, because GitHub is generally available. The other option would be to rely on any of the other socials as fallbacks. |
One other thing I was wondering, we are referencing the GitHub avatars using an URL that redirects ( |
Yeah great idea to use the static version. I suppose that we cannot get a dynamic size as we do now but those images are small enough I think to just get one full size and shrink it in css |
Follow-up to #328
up to now we rely on GitHub to serve the profile images. Very easy to use on our side but it comes with a few gotchas.
We are dependent on GitHub availability and the cache settings cannot be configured. Since GitHub picture profile have very short live cache the images are rarely cached in the browser and can introduce a few blink effect.
I would like to avoid setting up an S3/R2 storage (but open to change my mind)
my idea would be to use the 40gb storage available on the VPs with an active storage configured using the file system.
for the picture profile we could check if one is attached if not fallback to GitHub and launch a background job to attach the image and persist it locally. This way in dev we don’t have to worry about pulling the data and the storage gets constructed slowly overtime
happy to hear alternative suggestions
The text was updated successfully, but these errors were encountered: