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

    steele

    04/04/2023, 6:20 PM

    https://r2.stele.me/lT6KYUCjUg.png▾

  • k

    kian

    04/04/2023, 6:21 PM
    404's are cached by default for... 5 minutes if I recall correctly
  • s

    steele

    04/04/2023, 6:21 PM
    ah i see
  • s

    steele

    04/04/2023, 6:21 PM
    so even if somethings uploaded it'll still have a 404?
  • k

    kian

    04/04/2023, 6:21 PM
    Until the cache clears, in that location, yes.
  • s

    steele

    04/04/2023, 6:21 PM
    until that cache value is expired
  • s

    steele

    04/04/2023, 6:21 PM
    gotcha
  • s

    steele

    04/04/2023, 6:23 PM
    ah yeah i see it expired after probably about 5 minutes
  • s

    steele

    04/04/2023, 6:23 PM

    https://r2.stele.me/izmfQEgdIA.png▾

  • s

    steele

    04/04/2023, 6:23 PM
    thanks
  • c

    Cryptex

    04/04/2023, 6:25 PM
    it’d be nice if the custom domain for public bucket don’t have to be of the same account
  • n

    not_james-Brown

    04/04/2023, 8:04 PM
    Not sure if this is a worker/cache question or r2 question. Ive got a worker serving and caching some images from r2 with the file path like
    /avatars/<userid>.jpg
    . I noticed that if i replace that file at the path with the same key in r2, the previously cached image is still served sometimes. Is that expected behavior? I thought it would return the updated file since the object's
    etag
    would be different.
  • k

    kian

    04/04/2023, 8:06 PM
    It'll never check the new ETag since it's cached
  • k

    kian

    04/04/2023, 8:06 PM
    Only when it expires or it's a cache miss will it have the new one
  • k

    kian

    04/04/2023, 8:07 PM
    Cache is per-colo so it could be cached in one colo and not another
  • n

    not_james-Brown

    04/04/2023, 8:09 PM
    thanks! that makes sense I was trying to get around doing some mass updates in my Firestore DB . Im storing the avatar urls in a few different spots throughout
  • i

    itsezc

    04/05/2023, 6:29 AM
    Does Kyber PQ play any role in R2? Other CF products have used Kyber interested to know if there are any plans to use it for encryption or why it might not be a good solution.
  • h

    haltbill

    04/05/2023, 8:16 AM
    what is wrong with rclone? 3KiB/s 😦
  • h

    haltbill

    04/05/2023, 8:16 AM
    i'm using rclone copy ~/Dev/md r2prod:md --progress
  • h

    HardAtWork

    04/05/2023, 8:24 AM
    Try restarting the transfer
  • h

    haltbill

    04/05/2023, 8:33 AM
    did so many times
  • h

    haltbill

    04/05/2023, 8:33 AM
    but same thing
  • h

    HardAtWork

    04/05/2023, 8:38 AM
    What’s your tested speed on that server?
  • s

    steele

    04/05/2023, 5:02 PM
    is it just me or is r2 currently terrible slow
  • s

    steele

    04/05/2023, 5:02 PM
    i was looking atmigrating my current bucket from gcp cloud storage and jeez..
  • s

    steele

    04/05/2023, 5:02 PM
    i am seeing 200ms-400ms response times for lots of my uploads
  • s

    steele

    04/05/2023, 5:03 PM
    not sure if i am uploading things wrong or what
  • h

    HardAtWork

    04/05/2023, 5:05 PM
    Doesn't look like it to me. One of my apps is getting (mostly) consistent sub-100ms Range requests.
  • h

    HardAtWork

    04/05/2023, 5:05 PM
    How big are your files?
  • s

    steele

    04/05/2023, 5:06 PM
    not super big, i mostly have lots of json/image files
1...976977978...1050Latest