Hi,
A customer was wondering why file uploads using HTTP POST was slow (e.g. compared with SFTP which can fill up the link easily). After much investigation, I found out that an upload over HTTP/2 is much slower than over HTTP/1.1 when link speeds are high. This blog post by Cloudflare explains the technical details better than I can: https://blog.cloudflare.com/delivering-http-2-upload-speed-improvements/
While clients probably could force their connection to be HTTP/1.1 (e.g. with the --http1.1 option to curl), this is not so easy to enforce when your clients are typical users. Because of this, I'm looking for a safe way to disable HTTP/2 for a certain domain, or possibly only a certain script. Is there a way to do this?
A customer was wondering why file uploads using HTTP POST was slow (e.g. compared with SFTP which can fill up the link easily). After much investigation, I found out that an upload over HTTP/2 is much slower than over HTTP/1.1 when link speeds are high. This blog post by Cloudflare explains the technical details better than I can: https://blog.cloudflare.com/delivering-http-2-upload-speed-improvements/
While clients probably could force their connection to be HTTP/1.1 (e.g. with the --http1.1 option to curl), this is not so easy to enforce when your clients are typical users. Because of this, I'm looking for a safe way to disable HTTP/2 for a certain domain, or possibly only a certain script. Is there a way to do this?