https://discord.cloudflare.com logo
Join Discord
Powered by
# r2
  • a

    andrew

    02/23/2023, 10:02 AM
    (and me too for that matter)
  • e

    Erisa | Support Engineer

    02/23/2023, 10:04 AM
    i currently have that chalked down to chrome being weird
  • e

    Erisa | Support Engineer

    02/23/2023, 10:05 AM
    then again, firefox says the same, so who knows
  • a

    andrew

    02/23/2023, 10:06 AM
    yeah, just noticed that myself 😉
  • e

    Erisa | Support Engineer

    02/23/2023, 10:06 AM
    oh wait my stupidity strikes again
  • e

    Erisa | Support Engineer

    02/23/2023, 10:06 AM
    LOL
  • a

    andrew

    02/23/2023, 10:06 AM
    this is also in the response headers for firefox:
  • a

    andrew

    02/23/2023, 10:06 AM
  • e

    Erisa | Support Engineer

    02/23/2023, 10:07 AM
    lol its http 1.1 for the asset but not the favicon
  • a

    andrew

    02/23/2023, 10:07 AM
    for the
    GET https://static.brickadia.com/resources/website-background-hero.webm
    request
  • e

    Erisa | Support Engineer

    02/23/2023, 10:07 AM
    oh the favicon is loaded from coudflare.com that makes sense
  • e

    Erisa | Support Engineer

    02/23/2023, 10:07 AM
    its too early for me i need some tea
  • a

    andrew

    02/23/2023, 10:07 AM
    yeah the static.brickadia.com request (to an R2 bucket) is showing that
    X-Firefox-Spdy: h2
    in the response headers
  • k

    Karew

    02/23/2023, 10:09 AM
    My current guess is: - Nothing read from R2 uses HTTP/2 - If you request the whole object, the CDN uses HTTP/1.1 because that's just easier (?) or what R2 did (?) - If you have a range header and the CDN can handle the range, it might use HTTP/2 because the CDN is doing the entire response
  • z

    Zeblote

    02/23/2023, 10:09 AM
    but doesn't the connection need to get fully established before it can tell whether the path leads to a valid object?
  • k

    Karew

    02/23/2023, 10:10 AM
    I'm getting CF-Cache-Status: HIT for your WEBM file so that part already happened a while ago and now the CDN is handling it
  • z

    Zeblote

    02/23/2023, 10:10 AM
    but the cdn only gets the path after you finished your h2 or 1.1 connection
  • a

    andrew

    02/23/2023, 10:10 AM
    https://stackoverflow.com/a/23792880
  • a

    andrew

    02/23/2023, 10:10 AM
    (i wasn't able to get that command to work for my version of openssl however)
  • a

    andrew

    02/23/2023, 10:14 AM
    ah here we go
    Copy code
    curl  --silent --verbose --output /dev/null --http2-prior-knowledge --no-alpn "https://static.brickadia.com/resources/website-background-hero.webm"
  • a

    andrew

    02/23/2023, 10:15 AM
    nvm, you get an empty reply that way
  • a

    andrew

    02/23/2023, 10:15 AM
    i mean it forces the request to use http/2, but you get an empty response back
  • z

    Zeblote

    02/23/2023, 10:16 AM
  • z

    Zeblote

    02/23/2023, 10:16 AM
    so why's it working when chrome does it
  • z

    Zeblote

    02/23/2023, 10:16 AM
    if I paste the video url into firefox it uses 1.1
  • z

    Zeblote

    02/23/2023, 10:17 AM
    if I open the homepage in firefox it uses h2 for the video
  • a

    andrew

    02/23/2023, 10:17 AM
    yeah, same for chrome for me. only uses h2 when served from the homepage
  • z

    Zeblote

    02/23/2023, 10:17 AM
    now that I have loaded the homepage
  • z

    Zeblote

    02/23/2023, 10:17 AM
    pasting the video url again uses h2
  • z

    Zeblote

    02/23/2023, 10:18 AM
    so this is still the best theory so far
1...902903904...1050Latest