巴西地区和 HTTP/2 Heroku

Region in Brazil and HTTP/2 Heroku

有人知道 Heroku 是否要在巴西推出新区域吗?我真的很喜欢这项服务,但我认为在其他地区托管我的网站会稍微影响我的应用程序的性能。

另一个问题是关于HTTP/2。是时候升级到 HTTP/2 了,对吧?有谁知道他们什么时候考虑这样做?谢谢

Heroku 不支持 HTTP/2,正如他们在此处的帮助页面上所回答的那样:
https://help.heroku.com/JAOCNZ25/does-heroku-have-plans-to-support-http-2

HTTP/2 is not currently supported on Heroku although this may change in future. You can find out about our currently supported HTTP protocols here: https://devcenter.heroku.com/articles/http-routing#http-versions-supported

在链接页面中是这样的文字:

Three main versions of HTTP are used in the wild: HTTP/0.9, HTTP/1.0, and HTTP/1.1.

The Heroku router only supports HTTP/1.0 and HTTP/1.1 clients. HTTP/0.9 and earlier are no longer supported. SPDY and HTTP/2 are not supported at this point.

另外heroku的开源reverse-proxying模块也明确表示不支持HTTP/2:
https://github.com/heroku/vegur#protocol-details

The vegur proxy only supports HTTP/1.0 and HTTP/1.1 clients. HTTP/0.9 and earlier are no longer supported. SPDY and HTTP/2.0 are not supported at this point.

您可以通过对您的应用程序执行一个简单的 curl -vv 来判断 vegur 正在被使用,而响应中的 Via: 1.1 vegur 行没有任何内容。