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

    Erisa | Support Engineer

    02/23/2023, 10:26 AM
    yes
  • z

    Zeblote

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

    Zeblote

    02/23/2023, 10:27 AM
    maybe it will actually get fixed someday
  • e

    Erisa | Support Engineer

    02/23/2023, 10:27 AM
    it will, but i cant share any etas
  • e

    Erisa | Support Engineer

    02/23/2023, 10:27 AM
    so soontm
  • z

    Zeblote

    02/23/2023, 10:27 AM
    its kinda funny otherwise
  • z

    Zeblote

    02/23/2023, 10:27 AM
    ✅ make your site perform worse
  • e

    Erisa | Support Engineer

    02/23/2023, 10:28 AM
    then that explains it - the behaviour we're seeing is that if the main site is loaded over http/2 and you load an r2 bucket on a subdomain (same IP) then it reuses the main sites http/2 connection to access the r2 bucket (thus giving it free http/2 benefits)
  • a

    andrew

    02/23/2023, 10:28 AM
    huh
  • a

    andrew

    02/23/2023, 10:29 AM
    this leads me to a more general question
  • k

    Karew

    02/23/2023, 10:29 AM
    My R2 bucket's domain and the main site domain currently don't resolve to the same IP addresses
  • z

    Zeblote

    02/23/2023, 10:30 AM
    did you turn off h3?
  • k

    Karew

    02/23/2023, 10:30 AM
    Also I just turned off h3, and now my HTML loads over h2 and the R2 files are still all 1.1 according to Chrome's inspector
  • z

    Zeblote

    02/23/2023, 10:30 AM
    mine get the same ip
  • e

    Erisa | Support Engineer

    02/23/2023, 10:31 AM
    if its on a subdomain of the same zone it should
  • k

    Karew

    02/23/2023, 10:31 AM
    I am not using the same Cloudflare website for the buckets as the main site is
  • z

    Zeblote

    02/23/2023, 10:31 AM
    rip
  • e

    Erisa | Support Engineer

    02/23/2023, 10:31 AM
    sad
  • k

    Karew

    02/23/2023, 10:31 AM
    The buckets are on an .io domain and the main site is .com
  • z

    Zeblote

    02/23/2023, 10:31 AM
    move the buckets to the .com one for better performance lol
  • a

    andrew

    02/23/2023, 10:32 AM
    my question: when you make a GET request to a public R2 bucket object, does it take a standard route over the internet to the server physically running that DO? or does it first route to the closest CF POP, which then routes over CF's network?
  • z

    Zeblote

    02/23/2023, 10:32 AM
    they say public buckets are powered by a worker so one would expect it to go to the closest one, no?
  • a

    andrew

    02/23/2023, 10:32 AM
    yeah
  • e

    Erisa | Support Engineer

    02/23/2023, 10:32 AM
    closest pop, invokes a worker there, that worker calls a DO
  • k

    Karew

    02/23/2023, 10:32 AM
    The fact that two different Cloudflare domains resolve to different or the same IP seems like an implementation detail that could change at any time
  • a

    andrew

    02/23/2023, 10:32 AM
    and this http/2 result seems to also point to hat
  • e

    Erisa | Support Engineer

    02/23/2023, 10:33 AM
    if theyre on the same zone then theyll always be the same
  • e

    Erisa | Support Engineer

    02/23/2023, 10:34 AM
    different domains entirely though.. yeah thats unlikely and could change whenever
  • a

    andrew

    02/23/2023, 10:34 AM
    hmm, i wonder if requests to hostnames living on different TLDs but the same IP can be multiplexed over the same HTTP/2 connection
  • k

    Karew

    02/23/2023, 10:34 AM
    But also why wouldn't it want to connect to the R2 bucket over h2 to get like the five images or whatever?
1...904905906...1050Latest