A new public reverse proxy of flutter_infra and dart packeges in China (and questions)

119 views
Skip to first unread message

Vic Luo

unread,
May 18, 2018, 11:52:10 AM5/18/18
to Flutter Dev
Hello, 

We are Shanghai Jiaotong University Linux User Group. Recently, we set up a new reverse proxy for flutter_infra and dart packages at https://mirrors.sjtug.sjtu.edu.cn/flutter_infra/ and  https://dart-pub.mirrors.sjtug.sjtu.edu.cn/ and expect it to improve the download speed of university users. Since it's still in beta state, bugs may exist and reports are very welcomed. We still have some questions about this reverse proxy:

1. Is a reverse proxy of these repositories allowed? if not we will shut it down as soon as possible
2. Can it be listed on Using Flutter In China wiki page (https://github.com/flutter/flutter/wiki/Using-Flutter-in-China)
3. Can we set up some caching techniques to improve the speed of reverse proxy? If so, what is the ideal timeout?

Thanks

Tao Dong

unread,
May 22, 2018, 3:44:07 PM5/22/18
to Vic Luo, Flutter Dev, luc...@google.com, m...@google.com
Hi Vic,

Thank you for setting up the reverse proxy for Flutter. Please see my answers to your questions in-line blow.

On Fri, May 18, 2018 at 8:52 AM Vic Luo <vicl...@gmail.com> wrote:
Hello, 

We are Shanghai Jiaotong University Linux User Group. Recently, we set up a new reverse proxy for flutter_infra and dart packages at https://mirrors.sjtug.sjtu.edu.cn/flutter_infra/ and  https://dart-pub.mirrors.sjtug.sjtu.edu.cn/ and expect it to improve the download speed of university users. Since it's still in beta state, bugs may exist and reports are very welcomed. We still have some questions about this reverse proxy:

1. Is a reverse proxy of these repositories allowed? if not we will shut it down as soon as possible

Yes, it's fine to set up a reverse proxy for Flutter and Pub. However, we'd like a community-maintained mirror site to clearly identify the owner, so users don't get confused with the official site. For example, can you add a banner including the name of your group and a link to pub.dartlang.org to https://dart-pub.mirrors.sjtug.sjtu.edu.cn/? Thanks. 
 
2. Can it be listed on Using Flutter In China wiki page (https://github.com/flutter/flutter/wiki/Using-Flutter-in-China)

We'd be happy to add your proxy to the wiki page under a community-maintained proxies section, once you've identified the owner properly as requested above. 
 
3. Can we set up some caching techniques to improve the speed of reverse proxy? If so, what is the ideal timeout?

For this question, I've cc'ed my colleagues +Luke Cheng and +Michael Thomsen who might have an answer for you. 
 
Thank you for your interest in Flutter. We're interested in learning how educational institutions use Flutter in China.

Best,

Tao (on behalf of the Flutter team)

Thanks

--
You received this message because you are subscribed to the Google Groups "Flutter Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to flutter-dev...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages