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

    Zeblote

    02/23/2023, 9:33 AM
    no
  • z

    Zeblote

    02/23/2023, 9:33 AM
    that would be outrageously expensive
  • k

    Karew

    02/23/2023, 9:33 AM
    Copy code
    curl --silent --verbose --output /dev/null --http2 "https://static.brickadia.com/resources/website-background-hero.webm"
  • z

    Zeblote

    02/23/2023, 9:34 AM
    maybe the thing in chrome is actually broken and it's not using h2
  • z

    Zeblote

    02/23/2023, 9:34 AM
    that would be fun
  • k

    Karew

    02/23/2023, 9:34 AM
    Compare to:
    Copy code
    curl --silent --verbose --output /dev/null --http2 "https://brickadia.com/blog/devlog-3/"
    which IS getting HTTP/2, you can see cURL logging information about the HTTP/2 stream
  • z

    Zeblote

    02/23/2023, 9:36 AM
    mysterious
  • a

    andrew

    02/23/2023, 9:36 AM
    i see that's a 206 response in chrome, which means it was a range request
  • a

    andrew

    02/23/2023, 9:36 AM
    maybe it only uses (or R2 only allows) http/2 for range requests? that seems kind of odd, but idk
  • k

    Karew

    02/23/2023, 9:38 AM
    Is it because ranges are being sent by the Cloudflare CDN and not drawn from R2?
  • z

    Zeblote

    02/23/2023, 9:38 AM
    at least with curl it still doesn't want to use h2 for the range request
  • a

    andrew

    02/23/2023, 9:38 AM
    ah ok
  • k

    Karew

    02/23/2023, 9:41 AM
    I don't have any WEBMs on my project, all of the files that refuse to get sent over HTTP/2 from my bucket are PNGs and JPEGs
  • z

    Zeblote

    02/23/2023, 9:42 AM
    very strange
  • z

    Zeblote

    02/23/2023, 9:42 AM
    I wonder what makes it sometimes decide to use h2
  • a

    andrew

    02/23/2023, 9:43 AM
    cf's a|b testing algorithm 😄 😄
  • e

    Erisa | Support Engineer

    02/23/2023, 9:43 AM
    🤨
  • z

    Zeblote

    02/23/2023, 9:45 AM
    I can see the video being requested over both h2 and 1.1
  • z

    Zeblote

    02/23/2023, 9:46 AM
  • k

    Karew

    02/23/2023, 9:46 AM
  • k

    Karew

    02/23/2023, 9:46 AM
    My buckets look like this (no WEBMs or videos, still)
  • z

    Zeblote

    02/23/2023, 9:47 AM
    now that is a lot of requests
  • k

    Karew

    02/23/2023, 9:47 AM
    I really, seriously wish R2 custom domains would obey the parent website settings and not just do whatever
  • h

    HardAtWork

    02/23/2023, 9:48 AM
    Is that on bucket stats, or website stats?
  • k

    Karew

    02/23/2023, 9:49 AM
    It's a Cloudflare website that only has R2 bucket subdomains
  • k

    Karew

    02/23/2023, 9:49 AM
    It's my analytics page
  • z

    Zeblote

    02/23/2023, 9:50 AM
    maybe there is some magic going on like when people come in from the website, they already have a open h2 connection to cloudflare, and it somehow detects it can reuse it instead of making a new 1.1 one?
  • a

    andrew

    02/23/2023, 9:51 AM
    or maybe it's geographic, like only certain r2 DO runners or whatever have it?
  • z

    Zeblote

    02/23/2023, 9:51 AM
    would that work across subdomains? no clue
  • k

    Karew

    02/23/2023, 9:51 AM
    I think it has something to do with the fact that it's a video and a range request is involved
1...900901902...1050Latest