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

    Chaika

    03/02/2023, 5:01 AM
    R2 runs on Cloudflare's own infrastructure, not on AWS
  • c

    Chaika

    03/02/2023, 5:02 AM
    Cache Reserve is on R2 itself, perhaps you mean tiered caching? Afaik neither of them work on r2 custom domains, and tiered caching doesn't work with the Worker cache api either
  • z

    Zeblote

    03/02/2023, 5:03 AM
    if r2 used aws it would be unusable
  • c

    Chaika

    03/02/2023, 5:05 AM
    oh hey there's a tag for it
  • c

    Chaika

    03/02/2023, 5:05 AM
    ?r2-tiered-cache
  • h

    Helpflare

    03/02/2023, 5:05 AM
    > R2 Public Buckets do not currently work with Tiered Caching because of the way Public Buckets work internally. You can still apply regular cache, but Tiered Caching will not be applied. > > The team has mentioned there might be a fix eventually: however there are higher priorities at this time.
  • c

    conqr

    03/02/2023, 5:41 AM
    any way to change the R2 404 page?
  • c

    conqr

    03/02/2023, 5:42 AM
    This isn't a very good 404 page
  • u

    Unsmart | Tech debt

    03/02/2023, 5:45 AM
    That is not the 404 page for R2. That's your browser saying the site seems deceptive from user reports
  • u

    Unsmart | Tech debt

    03/02/2023, 5:46 AM
    This is the 404 page
  • c

    conqr

    03/02/2023, 6:37 AM
    I know, but why is it triggering
  • c

    conqr

    03/02/2023, 6:37 AM
    nvm it got fixed
  • c

    conqr

    03/02/2023, 6:38 AM
    how do you setup edge cache for R2 custom domains?
  • c

    conqr

    03/02/2023, 6:39 AM
    these settings don't seem to work
  • c

    conqr

    03/02/2023, 6:39 AM
    Plus these cache rules
  • c

    conqr

    03/02/2023, 6:41 AM
    And yet cache still returns
    EXPIRED
    after merely a minute
  • c

    conqr

    03/02/2023, 6:41 AM
  • s

    Skye

    03/02/2023, 7:24 AM
    Setting those rules means it'll be cached for up to 1 year - not always 1 year. If your assets are getting requested infrequently, they're not going to remain in cache for long, because the cache can only fit so much in it
  • u

    utpal

    03/02/2023, 7:30 AM
    hi, If I delete a file from the R2, does Cloudflare also clear the cache?
  • p

    Plotzes

    03/02/2023, 7:36 AM
    I don't think they do, but you can purge the cache manually yourself
  • u

    utpal

    03/02/2023, 7:43 AM
    ok, thanks
  • c

    conqr

    03/02/2023, 7:48 AM
    how to make sure it gets cached as long as possible
  • s

    Skye

    03/02/2023, 7:48 AM
    Have a busier site
  • k

    Kalid

    03/02/2023, 8:04 AM
    Hi, I am a bit new to R2 and I am facing an issue in the workflow I am trying to implement : I am building debian packages and store them to R2 through a github action. My issue : I want to make my packages available for users to make "apt install" I connected a domain in the settings tab of my R2 bucket I see everything is ok (status active, access to bucket allowed) But when I try to access the URL that should serve the R2 I have a 404 error. Any thoughts ?
  • k

    Kalid

    03/02/2023, 8:05 AM
    The doc I am following is here : https://developers.cloudflare.com/r2/data-access/public-buckets/#connect-your-bucket-to-a-custom-domain
  • k

    Kalid

    03/02/2023, 9:40 AM
    FYI : I am able to install using "apt install", but when I try to reach the URL bucket it is failing ...
  • s

    Sid | R2

    03/02/2023, 10:46 AM
    Is the path to your object correct? Do you have Page/Transform rules on your zone? Also note that hitting the root path (/) will not show you a listing of all files, you must hit the pathname of a single object (so like /my/key/here)
  • x

    Xetera

    03/02/2023, 11:07 AM
    hey, there's no support for migrating things from s3 compatible stores like https://wasabi.com/ yet right?
  • c

    Cook

    03/02/2023, 12:23 PM
    Is there any way to be picky/set rules about what type of assets CF will put into R2 cache reserve? I would love to put all of our images onto it, but it seems to be all-or-nothing, which ended up increasing our overall spend because of all the writes for small assets (like search autocomplete API responses)
  • z

    Zeblote

    03/02/2023, 12:33 PM
    you can't control it at all beyond using a cache rule to mark the path not eligible for cache entirely
1...927928929...1050Latest