-
-
Notifications
You must be signed in to change notification settings - Fork 62
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
feat(aws-s3-storage): serve tarball files via CDN #250
Comments
It would be great if you elaborate a bit better your since for those are not familiar with AWS and specific features, provide examples to identify the areas you want to improve and about your PR seems to be incomplete, perhaps specify what's missing. As I commented verdaccio/verdaccio#1580 any specific feature for AWS has to be implemented here. |
@juanpicado updated issue description for intention, solution and implementation details. I don't know what's the specific incomplete thing you addressed, only part of unit test is missing (see reason above). Please also checkout verdaccio/verdaccio#1580 (comment). |
|
@juanpicado the issue is re-implemented in #249 #320 verdaccio/verdaccio#1688. |
Thanks 🙏 I will put it on my list and back to you with feedback |
@favoyang you might be interested on this |
I have checked these threads. It seems people get confused for the
The documentation didn't explain the details, I think the current behavior is counter-intuitive and can be considered a bug. If I set In v5 Anyway, these are not related to this issue #250. |
Currently does not affect static files as you says, but it will. That documentation will be updated once the PR is being merged and released (we don't have versioning on docs anymore), those additional ngix rules won't be need it anymore and should be removed (it will be on the changelog notes so people is aware). The
That's what the new PR intend to fix. The issue of the static files is not that easy to solve (https://serverfault.com/a/932636). UI files are generated with a public path and once some JS chunks are loaded cannot detect are being loaded behind a proxy unless you use a complete URI, not to mention the harcoded values UI had for
Yes, but I ported that to v4 as well since I wanna give a solution to the
No,
If you tell me exactly why, it is not written in stone yet, PR is draft and v5 can change since was not released yet. I'd love listen your opinion.
Agree, just related, #250 on my queue. |
I guess we may talk about the same thing.
It just feels consistent, so either you have
But you probably won't want a conditional configuration.
Or you may need more specific examples of how it works with url_prefix. |
Not sure to be honest, maybe @verdaccio/collaborators have some extra thoughts on this. |
Closed by #249 and verdaccio/verdaccio#1688 |
Is your feature request related to a problem? Please describe.
The intention is to improve the performance of tarball files distribution by leveraging S3 integrated CDN service, like Amazon CloudFront.
Prerequisites
https://hostname/-/tarball.tgz
) needs return a HTTP redirect (302) to the CDN URL.config.tarball_url_redirect
The text was updated successfully, but these errors were encountered: