News for hackers. Stuff that matters.
Re:HTTP/3 Is Fast by bestinterest on Wednesday December 15, 2021 @05:27AM (#29564064)
Quick question, if I have a VPS with cloudflare in front of it where the VPS runs a HTTP1.1 server is cloudflare limited to 6 http connections/resources to my server at a time?
Re:HTTP/3 Is Fast by CasperDern on Wednesday December 15, 2021 @05:32AM (#29564095)
I do not know about cloudflare's internals, but I believe the 6 connections limit is purely a browser thing. So it should be able to do as many connections as it's able to handle.
Re:HTTP/3 Is Fast by bestinterest on Wednesday December 15, 2021 @05:38AM (#29564133)
Ah okay thats good news. Is it worth upgrading to HTTP2 on the server side for cloudflare if they are the only consumers of my VPS? They already enable HTTP/3 for clients but I'm wondering if I'm somehow bottlenecking them by not matching my server with HTTP/2 or HTTP/3.
Re:HTTP/3 Is Fast by johncolanduoni on Wednesday December 15, 2021 @05:45AM (#29564177)
According to their docs Cloudflare won’t connect to your origin servers with HTTP/2 or HTTP/3 anyway: https://support.cloudflare.com/hc/en-us/articles/200168076-U...

In general connections between CDNs/reverse proxies and origin servers don’t get much benefit from HTTP/2 or HTTP/3. CDNs don’t generally care about connection establishment speed or multiplexing to the origin (the main benefits of newer HTTP versions), since they can just create and maintain N long-lived connections if they want to be able to send N concurrent requests. They generally only bother with HTTP/2 to the origin if they need to support gRPC, which has some unusual connection semantics.

Re:HTTP/3 Is Fast by slig on Wednesday December 15, 2021 @05:54AM (#29564246)
If you configure your static files caching correctly, they will be served directly by Cloudflare in the fastest way possible given the user has a modern browser. You can use http://webpagetest.org/ (or Chrome Dev Tools) and look for `cf-cache-status: HIT` header on the content that should be served directly by CF.