Data and thoughts after enabling HTTP/3 at @Wix for our user domains #webperf #http3 #quic

Positive impact from TTFB to later phases such as FCP and LCP

1. TTFB p75 for CDN hits is considerably faster (~2x), especially in countries with weak devices or connections Image
2. Browser Adoption - Chrome/Firefox currently support the latest h3, Edge/Opera support h3-29

60% - 70% of requests are using HTTP/3 in Chromium based browsers (Chrome, Edge, Opera), and 40% of Firefox requests
Only 2% of Safari (experimental, will it be the default in iOS 15?)
3. Session breakdown per protocol and browser for first page views tells a bit of a different story.
Only ~15%-20% of HTML requests are using HTTP/3

This can probably be explained by the connection upgrade behavior of the alt-svc header - first time visitors initially use h2 Image
4. Did you know..?
Time to first byte (TTFB) is the time between the navigationStart (start of the navigation) and responseStart, (when the first byte of response data is received) - developer.mozilla.org/en-US/docs/Web…

ttfb = time.responseStart - time.navigationStart Image
5. This also includes DNS time, and the time between navigationStart and domainLookupStart.

NavigationStart: when the prompt for unload terminates on the previous document in the same browsing context. If there is no previous document, this value will be the same as fetchStart
6. Redirects leading to your URL are also counted as part of the TTFB, but only if the redirects are from the same origin.
Surprisingly, these parts account for a non-trivial amount of time of TTFB at the higher percentiles, especially for mobile.
7. The use of the alt-svc header means that all h3 sessions have previously visited the domain (within the configured max-age).
This fact, combined with the definition of TTFB, makes for an unfair comparison between h2 and h3 - a repeat visitor is more likely to use DNS caching.
8. A fairer comparison between h2 and h3 would be of the time between connectStart and responseStart: Connection + SSL handshake + request to first byte of response

Attached are the p75 and p90 gains for this metric, which are more inline with the expected gains considering RTT ImageImage

• • •

Missing some Tweet in this thread? You can try to force a refresh
 

Keep Current with Alon Kochba

Alon Kochba Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

PDF

Twitter may remove this content at anytime! Save it as PDF for later use!

Try unrolling a thread yourself!

how to unroll video
  1. Follow @ThreadReaderApp to mention us!

  2. From a Twitter thread mention us with a keyword "unroll"
@threadreaderapp unroll

Practice here first or read more on our help page!

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3/month or $30/year) and get exclusive features!

Become Premium

Too expensive? Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal Become our Patreon

Thank you for your support!

Follow Us on Twitter!

:(