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

    Unsmart | Tech debt

    04/18/2023, 3:18 PM
    Cache is 512MB and you dont have to cache files you can just serve it without cache 🤷
  • c

    CurtStellarSword

    04/18/2023, 3:30 PM
    Is it possible to have one subdomain for all R2 buckets? It seems to only want to connect a domain to one bucket but that's an issue for me
  • k

    kian

    04/18/2023, 3:32 PM
    Not currently, no
  • c

    CurtStellarSword

    04/18/2023, 3:32 PM
    I noticed the URL for my buckets was https://XXXXXXXXXXX.r2.cloudflarestorage.com/bucketname
  • c

    CurtStellarSword

    04/18/2023, 3:33 PM
    Will the xxxxxxxxxx ever change? If so, can I use a service that does CNAME aliasing to do it outside of cloudflare?
  • k

    kian

    04/18/2023, 3:33 PM
    Nope and nope.
  • k

    kian

    04/18/2023, 3:33 PM
    The xxx is your account ID and you can't CNAME to CF w/o using SSL for SaaS, which you can't setup yourself for R2.
  • c

    CurtStellarSword

    04/18/2023, 3:33 PM
    blegh
  • c

    CurtStellarSword

    04/18/2023, 3:33 PM
    thanks
  • o

    oldmanmeta

    04/18/2023, 3:46 PM
    Thanks for your response, but I've got that effectively in Github right now. Given that is prone to fall over at different times of the day, my thinking is that a CDN delivered exe could alleviate those issue. I keep reading bits and pieces about a Cloudflare CDN, but I don't see it listed as a service specifically - I assume this is just referring to the cache solution?
  • h

    HardAtWork

    04/18/2023, 3:52 PM
    Unlike other Cloud providers, Cloudflare’s CDN isn’t a single product, it is all of CF’s products combined. There’s WAF to reduce requests to your origin, Rules to rewrite requests on the fly, Workers for Compututation at the Edge, R2 for zero egress fees, Argo for speeding up origin connections, the list goes on
  • h

    HardAtWork

    04/18/2023, 3:52 PM
    And all of those can be considered the CF CDN, since they help you ā€œdeliver contentā€
  • h

    HardAtWork

    04/18/2023, 3:53 PM
    Cache is one of those products that can make your life easier
  • o

    oldmanmeta

    04/18/2023, 3:53 PM
    I see - so all the services replicated across all the servers, most of the time sort of scenario? Thanks for the explanation
  • h

    HardAtWork

    04/18/2023, 3:53 PM
    Not always.
  • h

    HardAtWork

    04/18/2023, 3:54 PM
    For example, you can define regional services for things like GDPR
  • o

    oldmanmeta

    04/18/2023, 3:54 PM
    Sorry for these painful questions - still trying to get to grips with it all, and I'm a little slow šŸ˜‰
  • h

    HardAtWork

    04/18/2023, 3:54 PM
    Or R2, which is currently just a single region, but should be replicated/auto-migrated soon
  • h

    HardAtWork

    04/18/2023, 3:55 PM
    The cool thing with R2 is that you pay per request, not for bandwidth
  • o

    oldmanmeta

    04/18/2023, 3:55 PM
    ok - so would R2 (after the replicated scenario comes into play) be right to use as a quasi CDN to serve the exe through a worker?
  • o

    oldmanmeta

    04/18/2023, 3:56 PM
    I think that is where I'm getting a little confused, with regard to the storage of the object sizes in different services, versus the caching of those
  • u

    Unsmart | Tech debt

    04/18/2023, 3:56 PM
    You can use R2 right now to serve an EXE and you can use a public url instead of needing a worker at all 🤷
  • h

    HardAtWork

    04/18/2023, 3:56 PM
    I mean, it works as a ā€œCDNā€ now, it may just become faster later on
  • h

    HardAtWork

    04/18/2023, 3:57 PM
    And for an EXE, the latency isn’t nearly as sensitive as other applications might be
  • o

    oldmanmeta

    04/18/2023, 3:57 PM
    Yeah, I'm not sure why that was not clicking in my head - I'm already doing that with content, so why not an exe
  • o

    oldmanmeta

    04/18/2023, 3:57 PM
    Perfect
  • o

    oldmanmeta

    04/18/2023, 3:58 PM
    ok - thanks @HardAtWork & @Unsmart | Tech debt - you've both cemented something into my head. I need a cup of tea about now. Cheers for everything
  • c

    Cоlе

    04/18/2023, 6:23 PM
    Ah that makes sense. I read the docs, but I couldn't figure out if something like that was going on. Thanks šŸ‘
  • c

    Cоlе

    04/19/2023, 7:04 AM
    Woohoo got it working
  • c

    Cоlе

    04/19/2023, 7:05 AM
    Holy crap though, I thought doing S3 over curl wouldn't be that bad, obviously I was wrong
1...994995996...1050Latest