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

    HardAtWork

    02/20/2023, 4:47 PM
    Just to clarify, because I misspoke, the max size for a cached object is determined by the plan that the custom domain has, and it isn't applied across your entire account.
  • k

    Kenox

    02/20/2023, 5:08 PM
    Is anyone else currently having problems connecting to the R2?
  • g

    golyalpha

    02/20/2023, 5:14 PM
    nope
  • g

    golyalpha

    02/20/2023, 5:14 PM
    all fine here
  • g

    golyalpha

    02/20/2023, 5:14 PM
    Though I'm seeing some weird Bucket Size bugs
  • j

    johtso

    02/20/2023, 6:06 PM
    what's the expected behaviour when making a range request on something in R2 with caching enabled?
  • j

    johtso

    02/20/2023, 6:06 PM
    currently the requests completely stall if the cache is cold
  • g

    golyalpha

    02/20/2023, 6:13 PM
    Example of the size bugs I'm seeing btw
  • j

    johtso

    02/20/2023, 6:19 PM
    it's been about 20 minutes since I enabled caching on my custom r2 domain, and any range request that doesn't start at byte 0 still just stalls indefinitely
  • k

    kian

    02/20/2023, 6:21 PM
    Can't replicate it personally - do you have a URL to hand?
  • j

    johtso

    02/20/2023, 7:44 PM
    https://infinitenovelty.com
  • j

    johtso

    02/20/2023, 7:44 PM
    you'll see it's trying to fetch ranges of https://data.infinitenovelty.com/db.4.sqlite
  • j

    johtso

    02/20/2023, 7:44 PM
    which is a 700MB file
  • z

    Zeblote

    02/20/2023, 7:46 PM
    isn't that larger than the cache size limit?
  • h

    HardAtWork

    02/20/2023, 7:53 PM
    Depends on the tier
  • j

    johtso

    02/20/2023, 7:58 PM
    where are the cache size limits described?
  • j

    johtso

    02/20/2023, 7:58 PM
    I'm on the free tier
  • j

    johtso

    02/20/2023, 7:59 PM
    shouldn't files that exceed the limit be served uncached?
  • h

    HardAtWork

    02/20/2023, 8:02 PM
    100 MB
  • j

    johtso

    02/20/2023, 8:04 PM
    thanks, I'll look into chunking it
  • j

    johtso

    02/20/2023, 8:04 PM
    but I'm still concerned that it behaves like this
  • h

    HardAtWork

    02/20/2023, 8:05 PM
    Never mind:
  • j

    johtso

    02/20/2023, 8:05 PM
    if the resource isn't cached, it just breaks
  • h

    HardAtWork

    02/20/2023, 8:05 PM
    That shouldn’t be an issue. It will be slower, but it shouldn’t break
  • j

    johtso

    02/20/2023, 8:05 PM
    it is, the requests just stall indefinitely
  • j

    johtso

    02/20/2023, 8:06 PM
    a range request for bytes
    0-n
    works fine, but a range starting at any other point breaks completely
  • h

    HardAtWork

    02/20/2023, 8:07 PM
    Does this map render for you? https://maps.goalastair.com
  • j

    johtso

    02/20/2023, 8:07 PM
    yep
  • j

    johtso

    02/20/2023, 8:08 PM
    this seems to be a bug in how CF handles range requests
  • j

    johtso

    02/20/2023, 8:09 PM
    assuming this isn't how it's supposed to behave
1...890891892...1050Latest