Loading...
This site is best viewed in a modern browser with JavaScript enabled.
Something went wrong while trying to load the full version of this site. Try hard-refreshing this page to fix the error.
可以在 http/2 的握手阶段实现 ALTSVC 帧的响应吗?用来指定客户端接下请求的服务器和端口。
gxszpx
我想使用 http/2 的 ALTSVC 帧,来实现用户访问服务器,
在建立连接的时候 http/2 时,就告知用户应该从另外指定的服务器请求资源。
虽然 alt-svc 的响应头也可以达到目的。缺点就是用户第一次访问无法从指定的服务器请求资源。
再有就是 QUIC 也同样可以达到目的,缺点也是第一次无法从指定的服务器请求资源,并且只有 chrome 或其内核浏览器支持,不够完美。
所以期望 http/2 的 ALTSVC 帧 才能达到理想的状态。。。