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

    Plotzes

    03/24/2023, 2:02 PM
    to me that seems perfectly fine to do
  • h

    Himank Barve

    03/24/2023, 3:26 PM
    I’m having issue with r2 storage I have connected my sub domain with it, till now content was getting served with https, today suddenly https is not working
  • h

    Himank Barve

    03/24/2023, 3:26 PM
    I need urgent help with this
  • h

    Himank Barve

    03/24/2023, 3:56 PM
    No worries Issue resolved
  • f

    felixoi

    03/24/2023, 9:33 PM
    Are billing notifications based on daily accesses? Wanting to use R2 but only the free tier. As I can't provide a hard limit afaics I want to have notifications at least for the first billed operation. The configuration modal only says "Notify when total number of Storage Class A Operations exceeds" but is this daily, monthly, ..?
  • u

    Unsmart | Tech debt

    03/25/2023, 3:04 AM
    Depends on the peak rps but not sure what the limit is but you should use a custom domain not the R2.dev
  • z

    Zeblote

    03/25/2023, 3:59 AM
    if it's a single file, that will just get cached, so there would be no limit and also no charge
  • u

    Unsmart | Tech debt

    03/25/2023, 4:02 AM
    r2.dev doesn't cache
  • z

    Zeblote

    03/25/2023, 4:06 AM
    true, but why wouldn't you just use a custom domain
  • u

    Unsmart | Tech debt

    03/25/2023, 4:08 AM
    That's why I had said in my message not to use r2.dev when they asked if it would work for them 😛
  • z

    Zeblote

    03/25/2023, 4:10 AM
    buy r3.dev and use it as the custom domain
  • n

    NewbieDev

    03/25/2023, 4:33 AM
    I wish cloudflare implements something like Amazon S3 got. for example object can be accessed publicly with their sub domain https://samplebucket.server-location.amazonaws.com/file.ext so no need to map custom domains for simple purposes.
  • h

    HardAtWork

    03/25/2023, 8:10 AM
    That’s what https://r2.dev is…
  • n

    NewbieDev

    03/25/2023, 8:10 AM
    But we can't use that for production.
  • w

    Walshy | Pages

    03/25/2023, 9:11 AM
    I mean you can
  • w

    Walshy | Pages

    03/25/2023, 9:11 AM
    There's no stopping you
  • w

    Walshy | Pages

    03/25/2023, 9:13 AM
    But we recommend a custom domain so there's caching + no rate limit
  • h

    HardAtWork

    03/25/2023, 9:53 AM
    And WAF, so you don’t get billed when someone spams requests
  • n

    NewbieDev

    03/25/2023, 11:59 AM
    With regards to caching, apart from quick serving is there any other advantage to it with r2, like if the user gets cached instance will it still be counted towards class operations (GET only)
  • k

    kian

    03/25/2023, 12:00 PM
    Nope
  • k

    kian

    03/25/2023, 12:00 PM
    Cached reads will never hit R2
  • n

    NewbieDev

    03/25/2023, 12:01 PM
    That's good then, I don't need to configure anything manually for that? apart from mapping custom domain to the bucket?
  • e

    elithrar

    03/25/2023, 12:01 PM
    Caching (aka putting R2 behind a custom domain) also gives you analytics, rules (redirects/rewrites), etc - all the other powerful parts of Cloudflare.
  • e

    elithrar

    03/25/2023, 12:02 PM
    Just works. If/when the cache expires we will still refetch/revalidate from your bucket, to be clear.
  • n

    NewbieDev

    03/25/2023, 12:02 PM
    Got it, Thanks for the clarification.
  • k

    Karew

    03/25/2023, 1:24 PM
    You may need to configure Cache Rules in your settings to make sure the file types you want cached are eligible, and set the duration, etc
  • u

    碧空Faraway

    03/25/2023, 1:34 PM
    Can someone help me? I hosted videos with R2 and served them to my users through a custom domain. But I was told it violated the TOS
  • u

    碧空Faraway

    03/25/2023, 1:35 PM
    @elithrar
  • k

    Karew

    03/25/2023, 1:35 PM
    Contact support to have the block lifted. Sometimes the abuse detector thing is very aggressive
  • u

    碧空Faraway

    03/25/2023, 1:36 PM
    I have already contacted, but have not received a reply
1...961962963...1050Latest