hackage-server icon indicating copy to clipboard operation
hackage-server copied to clipboard

http 2.0 support

Open AlistairB opened this issue 4 years ago • 1 comments

Http 2.0 brings a bunch of performance improvements. Notably all resources from a host can be loaded over a single TCP connection which avoids a lot of overhead.

Apparently Hackage is fronted by nginx 1.14 which does support http2 see https://www.nginx.com/blog/nginx-1-9-5/#Moving-to-HTTP/2-with-NGINX 1.9.5

Happy to help if possible, although it looks like the nginx config is not in this repo.

AlistairB avatar Feb 09 '21 23:02 AlistairB

overlaps with https://github.com/haskell/hackage-server/issues/787 -- sadly because some curl clients have http2 bugs they will attempt to use http2 and fail rather than use http1. Since buggy curl clients will likely stick around a long time, there's really no good timeframe to switch to http2 :-/

gbaz avatar Jun 07 '21 01:06 gbaz